richibrics / IoTuring

Your Windows, Linux, macOS computer as MQTT and HomeAssistant integration
https://pypi.org/project/IoTuring/
GNU General Public License v3.0
70 stars 6 forks source link

Terminal entities #66

Closed infeeeee closed 1 year ago

infeeeee commented 1 year ago

Added different type of terminal entities:

All other changes are related to this.

EntityData: CustomPayload option. For setting the unit of the sensor, and other reasons. You have to send the unit in the autodiscovery message, and it can be set by the user this way.

HomeAssistantWH: Support for CustomPayload, also made it a bit more readable, and on commands with state do not send the state if the entity is optimistic.

Configurator changes:

I tested it on linux and windows.

richibrics commented 1 year ago

I really like this so much ! 💣 Also the edits to hassWH I couldn't find time to do ❤️