forked from home-assistant/core
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>
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
"""Constants for ebus component."""
|
"""Constants for ebus component."""
|
||||||
from homeassistant.const import (
|
from homeassistant.const import (
|
||||||
ENERGY_KILO_WATT_HOUR,
|
ENERGY_KILO_WATT_HOUR,
|
||||||
|
PERCENTAGE,
|
||||||
PRESSURE_BAR,
|
PRESSURE_BAR,
|
||||||
TEMP_CELSIUS,
|
TEMP_CELSIUS,
|
||||||
TIME_SECONDS,
|
TIME_SECONDS,
|
||||||
@@ -136,5 +137,7 @@ SENSOR_TYPES = {
|
|||||||
],
|
],
|
||||||
"RoomThermostat": ["DCRoomthermostat", None, "mdi:toggle-switch", 2],
|
"RoomThermostat": ["DCRoomthermostat", None, "mdi:toggle-switch", 2],
|
||||||
"HeatingPartLoad": ["PartloadHcKW", ENERGY_KILO_WATT_HOUR, "mdi:flash", 0],
|
"HeatingPartLoad": ["PartloadHcKW", ENERGY_KILO_WATT_HOUR, "mdi:flash", 0],
|
||||||
|
"StateNumber": ["StateNumber", None, "mdi:fire", 3],
|
||||||
|
"ModulationPercentage": ["ModulationTempDesired", PERCENTAGE, "mdi:percent", 0],
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user