Add ebusd boiler StateNumber and Modulation Percentage sensors (#49732)

* Added Boiler StateNumber and ModulationPercentage

* Update const.py

* Clean whitespace

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
pull/51081/head
brucemiranda 2021-05-25 17:25:12 +01:00 committed by GitHub
parent fb61ef500c
commit 1de4971d54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,7 @@
"""Constants for ebus component."""
from homeassistant.const import (
ENERGY_KILO_WATT_HOUR,
PERCENTAGE,
PRESSURE_BAR,
TEMP_CELSIUS,
TIME_SECONDS,
@ -136,5 +137,7 @@ SENSOR_TYPES = {
],
"RoomThermostat": ["DCRoomthermostat", None, "mdi:toggle-switch", 2],
"HeatingPartLoad": ["PartloadHcKW", ENERGY_KILO_WATT_HOUR, "mdi:flash", 0],
"StateNumber": ["StateNumber", None, "mdi:fire", 3],
"ModulationPercentage": ["ModulationTempDesired", PERCENTAGE, "mdi:percent", 0],
},
}