mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Always expose Toon gas sensors (#37829)
This commit is contained in:
parent
f5cbae0cd5
commit
209f9b6722
@ -54,7 +54,6 @@ async def async_setup_entry(
|
||||
[ToonDisplayDeviceSensor(coordinator, key="current_display_temperature")]
|
||||
)
|
||||
|
||||
if coordinator.data.gas_usage and coordinator.data.gas_usage.is_smart:
|
||||
sensors.extend(
|
||||
[
|
||||
ToonGasMeterDeviceSensor(coordinator, key=key)
|
||||
@ -89,8 +88,9 @@ async def async_setup_entry(
|
||||
if coordinator.data.thermostat.have_opentherm_boiler:
|
||||
sensors.extend(
|
||||
[
|
||||
ToonBoilerDeviceSensor(coordinator, key=key)
|
||||
for key in ["thermostat_info_current_modulation_level"]
|
||||
ToonBoilerDeviceSensor(
|
||||
coordinator, key="thermostat_info_current_modulation_level"
|
||||
)
|
||||
]
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user