Module homey.flow_token

Classes

class FlowToken

A token in the flow editor.

Methods

def get_value(self) ‑> str | float | bool | Image | None
async def set_value(self, value: str | float | bool | Image) ‑> None

Set the value of the token.

Raises

NotRegistered
Raised if the token is not registered.
async def unregister(self) ‑> None

Unregister this token.

Raises

NotRegistered
Raised if the token is not registered.