mirror of
https://github.com/home-assistant/core.git
synced 2025-11-12 12:30:31 +00:00
Limit zwave_js meter sensor last reset (#53921)
This commit is contained in:
@@ -33,7 +33,8 @@ ID_LOCK_CONFIG_PARAMETER_SENSOR = (
|
||||
"sensor.z_wave_module_for_id_lock_150_and_101_config_parameter_door_lock_mode"
|
||||
)
|
||||
ZEN_31_ENTITY = "light.kitchen_under_cabinet_lights"
|
||||
METER_SENSOR = "sensor.smart_switch_6_electric_consumed_v"
|
||||
METER_ENERGY_SENSOR = "sensor.smart_switch_6_electric_consumed_kwh"
|
||||
METER_VOLTAGE_SENSOR = "sensor.smart_switch_6_electric_consumed_v"
|
||||
|
||||
DATETIME_ZERO = datetime(1970, 1, 1, 0, 0, 0, tzinfo=timezone.utc)
|
||||
DATETIME_LAST_RESET = datetime(2020, 1, 1, 0, 0, 0, tzinfo=timezone.utc)
|
||||
|
||||
Reference in New Issue
Block a user