igor-podpalchenko / ha-devi-mqtt

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

New auto-discovery-templates #5

Closed bob-tm closed 3 weeks ago

bob-tm commented 1 month 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 1 month ago

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

igor-podpalchenko commented 1 month 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 1 month 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.

bob-tm commented 1 month ago

I make pull request with all my changes. Please check it.
There is some docker login errors. I have no idea what is this.

igor-podpalchenko commented 4 weeks ago

It is checked and merged. Please check Docker image. Thanks for your work.