217 files
This commit is contained in:
1 parent
d43a63ad29
commit
7b5e46e702
217 files changed
+15978
-3912
No files matched your search
@@ -125,10 +125,10 @@ def create_daily_fixed_energy_sensor(
|
||||
|
||||
async def create_daily_fixed_energy_power_sensor(
|
||||
hass: HomeAssistant,
|
||||
sensor_config: dict,
|
||||
sensor_config: ConfigType,
|
||||
source_entity: SourceEntity,
|
||||
) -> VirtualPowerSensor | None:
|
||||
mode_config: dict = sensor_config.get(CONF_DAILY_FIXED_ENERGY) # type: ignore
|
||||
mode_config: ConfigType = sensor_config.get(CONF_DAILY_FIXED_ENERGY) # type: ignore
|
||||
|
||||
if mode_config.get(CONF_ON_TIME) != timedelta(days=1):
|
||||
return None
|
||||
|
||||
Reference in new issue
Block a user