TradeFace

Results 42 comments of TradeFace

You correctly unmapped the state values. TG also reads the HA config to compose the message. On top of mind it doesn't fallback to pl_off/pl_on when the state values aren't...

`tuyagateway/tuyagateway/transform/homeassistant.py ` ``` l:170 calls _get_topic_value(output_topic, self._state_data) ``` needs fallback to `pl_off/pl_on` for `state_topic`

Dev branch has some updated code. Can you check if this solves the problem. ref ```python topic = self._full_topic(output_topic["default_value"])["full"] payload = _get_topic_value(output_topic, self._state_data) if payload is None and self.data_point["device_topic"] ==...

From your tuyagateway logs I don't see any disconnects. Only a heartbeat there. Some tuya devices break the connection with the gateway when the smartlife app connects to it. Maybe...

Yeah that is a bit of a problem. Not sure why that happens. It seems it has to do in which order the data is received in HA. Perhaps the...

No go ahead. I am breaking my head over how to implement device properties currently

I'm removing the topic configuration option. To much trouble to keep it working next to gismocaster. There probably not many users of it anyway. So, it is a waist of...

availability will break by handling all devices on one connection. Even more then I broke it already in #71. Perhaps better skip this one.

I didn't really dive into it. I looped through the `will_set` for each datapoint within a device and noticed only one came unavailable in HA when I stopped the tuyagateway....

@Koenkk do you set a will for availability? And is it all handled over one mqtt connection? Or do you have a mqtt connection per device? Groeten uit Steensel!