mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 08:47:10 +00:00
Fixed extra R in variable name. (#7418)
This commit is contained in:
parent
b321e0ef80
commit
1a74c41056
@ -31,12 +31,12 @@ ENTITY_ID_ALL_SWITCHES = group.ENTITY_ID_FORMAT.format('all_switches')
|
|||||||
ENTITY_ID_FORMAT = DOMAIN + '.{}'
|
ENTITY_ID_FORMAT = DOMAIN + '.{}'
|
||||||
|
|
||||||
ATTR_TODAY_ENERGY_KWH = "today_energy_kwh"
|
ATTR_TODAY_ENERGY_KWH = "today_energy_kwh"
|
||||||
ATTR_CURRRENT_POWER_W = "current_power_w"
|
ATTR_CURRENT_POWER_W = "current_power_w"
|
||||||
|
|
||||||
MIN_TIME_BETWEEN_SCANS = timedelta(seconds=10)
|
MIN_TIME_BETWEEN_SCANS = timedelta(seconds=10)
|
||||||
|
|
||||||
PROP_TO_ATTR = {
|
PROP_TO_ATTR = {
|
||||||
'current_power_w': ATTR_CURRRENT_POWER_W,
|
'current_power_w': ATTR_CURRENT_POWER_W,
|
||||||
'today_energy_kwh': ATTR_TODAY_ENERGY_KWH,
|
'today_energy_kwh': ATTR_TODAY_ENERGY_KWH,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user