Skip to content

v1.17.0

Choose a tag to compare

@Darkdragon14 Darkdragon14 released this 19 Sep 21:27
e96705a

✨New Feature: Create Token Service

You can generate guest tokens instantly from automations, scripts, or even trigger them with a button right on your dashboard.
Perfect for quickly sharing access with visitors without navigating through multiple menus.


Parameters List

Parameter Description Required
user_id The name of the user to create the token for. Yes
token_name The name of the token. No
expiration_duration The duration until the token expires (e.g., '02:00:00'). No
expiration_date The date when the token expires. No
start_date The date when the token becomes valid. No
dashboard The URL path of the desired dashboard (e.g., 'lovelace-guest'). Do not include the leading slash. No

If neither expiration_duration nor expiration_date is provided, the token will never expire.