ManagerSettings

homey.manager.settings

Manages settings for this app. You can access this manager through the Homey instance as self.homey.settings.

Ancestors

Methods

get

def get(self, key: str) ‑> bool | float | str | dict[str, AppSettingValue] | None

Get the value of the setting with the given key.

set

async def set(self, key: str, value: bool | float | str | dict[str, AppSettingValue] | None) ‑> None

Set the setting with the given key to the given value.

unset

async def unset(self, key: str) ‑> None

Remove the setting with the given key.

get_settings

def get_settings(self) ‑> mappingproxy[str, bool | float | str | dict[str, AppSettingValue] | None]

Get all the app settings.

Inherited members