bob-tm
bob-tm
``` var: attr: attributes: test1: test2: ``` attributes test1 and test2 will survive reboot in this case but we want to skip attribute declaration in yaml. Just declare ``` var:...
I create a ready to use solution We need to use native python code, so 1. create new folder \config\pyscript\python 2. create \pyscript\python\my_history.py and put this code ``` # Access...
> Why did you create a custom BoolSwitch? What's the problem with the one that was? XBoolSwitch always toggle "switch" param. But childLock should use childLock param and windowSwitch should...
``` class XBinarySensor(XEntity, BinarySensorEntity): default_class: str = None def __init__(self, ewelink: XRegistry, device: dict): XEntity.__init__(self, ewelink, device) device_class = device.get("device_class", self.default_class) if device_class in DEVICE_CLASSES: self._attr_device_class = DEVICE_CLASSES[device_class] def set_state(self,...
depending on possibility of changing XBinarySensor code, I will push final TRVZB version with new XHexVoltageTRVZB class for runVoltage and BinarySensor for workMode
I finish from my side. Everything works like expected. Please leave workstate sensor, to understand when head is changing the valve state.
blue - it was send at one time red - one that lost   maybe the problem on HA server side. It's rpi4 setup Logs ``` 02-23 19:17:42.607 11376...
there are were two notifications, one lost. ``` 2023-02-23 19:43:21.545 DEBUG (MainThread) [homeassistant.components.mobile_app.webhook] Received webhook payload from SM-F916B for type get_config: {} 2023-02-23 19:43:21.557 DEBUG (MainThread) [homeassistant.components.mobile_app.webhook] Received webhook payload...
LogBook ``` SM-F916B Last Notification changed to 1286: disarmed by Oleksiy Babenko 19:43:24 - 2 minutes ago ```
I have 3 sensors enabled in companion App Active Notification Count Last Notification Last Removed Notification