somm15 / PyViCare

Python Library to access Viessmann ViCare API
Apache License 2.0
130 stars 84 forks source link

feat(room sensor): expose deviceID #369

Closed CFenner closed 1 month ago

CFenner commented 1 month ago

This exposes the deviceID of room temp sensors and TRVs to be used in HA to identify the device.

https://github.com/somm15/PyViCare/blob/f8d1b446d3b74fb73d55552461c6e26b450923af/tests/response/zigbee_zk03839.json#L28

CFenner commented 1 month ago

Linter issues are unrelated to these changes and should be fixed in a separate PR:

************* Module PyViCare.PyViCareHeatPump
PyViCare/PyViCareHeatPump.py:112:4: W0105: String statement has no effect (pointless-string-statement)
PyViCare/PyViCareHeatPump.py:140:4: W0105: String statement has no effect (pointless-string-statement)

-----------------------------------
Your code has been rated at 9.99/10