Skip to content

Commit 0aa506b

Browse files
committed
Timer and schedule are not configuration entries
1 parent 67fb591 commit 0aa506b

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

dingz/dingz.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@ async def get_configuration(self, part) -> None:
8383
"pir": PIR_CONFIGURATION,
8484
"thermostat": THERMOSTAT_CONFIGURATION,
8585
"input": INPUT_CONFIGURATION,
86-
"timer": TIMER,
87-
"schedule": SCHEDULE,
8886
}
8987
url_part = [value for key, value in urls.items() if part in key][0]
9088
url = URL(self.uri).join(URL(url_part))

example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ async def main():
1919
print("All device details:", dingz.settings)
2020

2121
# Get the configuration
22-
# Available: pir, input, themostat, timer, schedule
22+
# Available: pir, input, themostat
2323
await dingz.get_configuration("pir")
2424
print("Configuration:", dingz.configuration)
2525

0 commit comments

Comments
 (0)