1
mirror of https://github.com/home-assistant/core synced 2024-09-25 00:41:32 +02:00
ha-core/homeassistant/components/arwn
Sean Dague 2a576e979b
Add unique_id property to ARWN sensors (#42570)
* Add unique_id property

After HA 0.111 the ARWN platform's lack of a unique_id causes the
sensors to fail to register correctly. The unique_id for this is just
a slug which is the mqtt topic that it's inbound on.

Also change the logging to INFO for data received to make it fit
better in the logging levels and show up during '-v' runs.

* use topic as unique_id

fix logging

* fix final topic location

* fix black

* address the fact that some topics have more than one sensor

This splits up rain and wind sensors to unique topics

* address review comments
2020-11-05 14:55:53 +01:00
..
__init__.py
manifest.json Remove unused manifest fields (#33595) 2020-04-03 12:58:19 -07:00
sensor.py Add unique_id property to ARWN sensors (#42570) 2020-11-05 14:55:53 +01:00