ManagerSettings
homey.manager.settings
Manages settings for this app.
You can access this manager through the Homey instance as self.homey.settings.
Ancestors
- Manager
- SimpleClass
- homey.util.event_emitter.EventEmitter
- typing.Generic
- abc.ABC
Methods
get
def get(self, key: str) ‑> bool | float | str | dict[str, AppSettingValue] | NoneGet the value of the setting with the given key.
set
async def set(self, key: str, value: bool | float | str | dict[str, AppSettingValue] | None) ‑> NoneSet the setting with the given key to the given value.
unset
async def unset(self, key: str) ‑> NoneRemove 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.