ManagerClock

homey.manager.clock

Manages the time information of the Homey. You can access this manager through the Homey instance as self.homey.clock.

Ancestors

Methods

get_timezone

def get_timezone(self) ‑> str

Get the current timezone of the Homey.

on_timezone_change

def on_timezone_change(self, f: Callable[[str], None]) ‑> Self

The timezoneChange event is fired when the timezone of the Homey is changed.

Args

NameTypeDescription
f Callable[[str], None] A callback that receives the new timezone.

Inherited members