Module homey.manager.clock

Classes

class ManagerClock

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

Ancestors

Methods

def get_timezone(self) ‑> str

Get the current timezone of the Homey.

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

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

Args

f
A callback that receives the new timezone.

Inherited members