Expose position for compatible thermostats (#4936)

This exposes an absolute position.
This commit is contained in:
Kamil Trzciński 2020-11-11 18:22:37 +01:00 committed by GitHub
parent 25b080a0f1
commit d5d2b68e67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -382,6 +382,7 @@ class HomeAssistant extends Extension {
illuminance_lux: {device_class: 'illuminance'},
illuminance: {device_class: 'illuminance'},
soil_moisture: {icon: 'mdi:water-percent'},
position: {icon: 'mdi:valve'},
pressure: {device_class: 'pressure'},
power: {icon: 'mdi:flash'},
linkquality: {icon: 'mdi:signal'},