Module homey.manager.settings
Classes
class ManagerSettings-
Manages settings for this app. You can access this manager through the Homey instance as
self.homey.settings.Ancestors
- Manager
- SimpleClass
- EventEmitter
- typing.Generic
- abc.ABC
Methods
def get(self, key: str) ‑> bool | float | str | dict[str, AppSettingValue] | None-
Get the value of the setting with the given key.
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.
async def unset(self, key: str) ‑> None-
Remove the setting with the given key.
def get_settings(self) ‑> mappingproxy[str, bool | float | str | dict[str, AppSettingValue] | None]-
Get all the app settings.
Inherited members