File tree Expand file tree Collapse file tree 2 files changed +0
-7
lines changed
homeassistant/components/rachio Expand file tree Collapse file tree 2 files changed +0
-7
lines changed Original file line number Diff line number Diff line change 1616from homeassistant .util import dt as dt_util
1717
1818from .const import (
19- KEY_ADDRESS ,
2019 KEY_DURATION_SECONDS ,
2120 KEY_ID ,
22- KEY_LOCALITY ,
2321 KEY_PROGRAM_ID ,
2422 KEY_PROGRAM_NAME ,
2523 KEY_RUN_SUMMARIES ,
@@ -65,7 +63,6 @@ def __init__(
6563 super ().__init__ (coordinator )
6664 self .base_station = base_station
6765 self ._event : CalendarEvent | None = None
68- self ._location = coordinator .base_station [KEY_ADDRESS ][KEY_LOCALITY ]
6966 self ._attr_translation_placeholders = {
7067 "base" : coordinator .base_station [KEY_SERIAL_NUMBER ]
7168 }
@@ -87,7 +84,6 @@ def event(self) -> CalendarEvent | None:
8784 end = dt_util .as_local (start_time )
8885 + timedelta (seconds = int (event [KEY_TOTAL_RUN_DURATION ])),
8986 description = valves ,
90- location = self ._location ,
9187 )
9288
9389 def _handle_upcoming_event (self ) -> dict [str , Any ] | None :
@@ -155,7 +151,6 @@ async def async_get_events(
155151 start = event_start ,
156152 end = event_end ,
157153 description = valves ,
158- location = self ._location ,
159154 uid = f"{ run [KEY_PROGRAM_ID ]} /{ run [KEY_START_TIME ]} " ,
160155 )
161156 event_list .append (event )
Original file line number Diff line number Diff line change 7575KEY_PROGRAM_NAME = "programName"
7676KEY_PROGRAM_RUN_SUMMARIES = "valveProgramRunSummaries"
7777KEY_TOTAL_RUN_DURATION = "totalRunDurationSeconds"
78- KEY_ADDRESS = "address"
79- KEY_LOCALITY = "locality"
8078KEY_SKIP = "skip"
8179KEY_SKIPPABLE = "skippable"
8280
You can’t perform that action at this time.
0 commit comments