igor-podpalchenko / ha-devi-mqtt

Home Assistant Danfoss DeviReg MQTT service
7 stars 3 forks source link

New auto-discovery-templates #5

Open bob-tm opened 5 days ago

bob-tm commented 5 days ago

I updated auto-discovery-templates. auto-discovery-templates.zip

  1. New entity name format: devireg_{serial}. This allow to rename all device entities with device renaming. All json files + autogen-sensors.py was updated.
  2. Add uniquie_id prefix, to apply changes from entity rename.
  3. Add unit_of_measurement for some sensors + device_class
  4. there is postfix "db" in sys_wifi_strength data (-64 db). Please remove it, so I can set proper device_class in template
  5. sensor.devireg_xxxx_sys_run_time reported as string. I think it is better to use unix time or just seconds with proper device_class on ha side.
bob-tm commented 4 days ago

auto-discovery-templates.zip Fix for control state and new active set point sensor

igor-podpalchenko commented 4 days ago

I've sent you an invitation to contribute to the project. I'm not currently actively working on it, so if you can make some improvements - you are welcome.

bob-tm commented 3 days ago

Everything works as excepted.
New code in fork https://github.com/bob-tm/ha-devi-mqtt if everything will be ok - I will upload changes in this repo.