Skip to content

Commit

Permalink
Adding an example for setting the SmartTask to repeat on every day of…
Browse files Browse the repository at this point in the history
… the week
  • Loading branch information
blast-hardcheese committed Jan 16, 2023
1 parent 9d80164 commit c8eb1d0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pytradfri/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ def dump_devices() -> None:
if socket:
print("> sockets")
print("> socket.socket_control.sockets")
print("> from pytradfri.const import TUESDAY, THURSDAY, SATURDAY, SUNDAY")
print("> days = TUESDAY | THURSDAY | SATURDAY | SUNDAY")
print("> api(socket.socket_control.set_repeat_days(days))")
if tasks:
print("> tasks[0].repeat_days_list")
print("> api(gateway.reboot())")
Expand Down

0 comments on commit c8eb1d0

Please sign in to comment.