{ "homeassistant": { "save_persistent_states": { "fields": {} }, "turn_off": { "fields": {}, "target": {} }, "turn_on": { "fields": {}, "target": {} }, "toggle": { "fields": {}, "target": {} }, "stop": { "fields": {} }, "check_config": { "fields": {} }, "update_entity": { "fields": { "entity_id": { "required": true, "selector": { "entity": { "multiple": true, "reorder": false } } } } }, "reload_core_config": { "fields": {} }, "set_location": { "fields": { "latitude": { "required": true, "example": 32.87336, "selector": { "number": { "mode": "box", "min": -90.0, "max": 90.0, "step": "any" } } }, "longitude": { "required": true, "example": 117.22743, "selector": { "number": { "mode": "box", "min": -180.0, "max": 180.0, "step": "any" } } }, "elevation": { "required": false, "example": 120, "selector": { "number": { "mode": "box", "step": "any" } } } } }, "reload_custom_templates": { "fields": {} }, "reload_config_entry": { "fields": { "entry_id": { "advanced": true, "required": false, "example": "8955375327824e14ba89e4b29cc3ec9a", "selector": { "config_entry": {} } } }, "target": {} }, "reload_all": { "fields": {} }, "create_label": { "name": "Create a label \uD83D\uDC7B", "description": "Creates a new label on the fly.", "fields": { "name": { "name": "Name", "description": "The name of the label to create.", "required": true, "selector": { "text": { "multiline": false, "multiple": false } } }, "description": { "name": "Description", "description": "Description for the label.", "required": true, "selector": { "text": { "multiline": false, "multiple": false } } }, "icon": { "name": "Icon", "description": "Icon to use for the label.", "required": false, "selector": { "icon": { "placeholder": "mdi:tag" } } }, "color": { "name": "Color", "description": "Color to use for the label. Can be a color name from the list, or a hex color code (like #FF0000).", "selector": { "select": { "options": [ { "label": "Primary theme color", "value": "primary" }, { "label": "Accent theme color", "value": "accent" }, { "label": "Disabled theme color", "value": "disabled" }, { "label": "Red", "value": "red" }, { "label": "Pink", "value": "pink" }, { "label": "Purple", "value": "purple" }, { "label": "Deep purple", "value": "deep_purple" }, { "label": "Indigo", "value": "indigo" }, { "label": "Blue", "value": "blue" }, { "label": "Light blue", "value": "light_blue" }, { "label": "Cyan", "value": "cyan" }, { "label": "Teal", "value": "teal" }, { "label": "Green", "value": "green" }, { "label": "Light green", "value": "light_green" }, { "label": "Lime", "value": "lime" }, { "label": "Yellow", "value": "yellow" }, { "label": "Orange", "value": "orange" }, { "label": "Deep orange", "value": "deep_orange" }, { "label": "Brown", "value": "brown" }, { "label": "Grey", "value": "grey" }, { "label": "Blue grey", "value": "blue_grey" }, { "label": "Black", "value": "black" }, { "label": "White", "value": "white" } ], "multiple": false, "sort": false, "custom_value": false } } } } }, "disable_entity": { "name": "Disable an entity \uD83D\uDC7B", "description": "Disables an entity (or entities) on the fly.", "fields": { "entity_id": { "name": "Entity", "description": "The entity/entities to disable.", "required": true, "selector": { "entity": { "multiple": true, "reorder": false } } } } }, "add_label_to_device": { "name": "Add a label to a device \uD83D\uDC7B", "description": "Adds a label to a device. If multiple labels or multiple devices are provided, all combinations will be added.", "fields": { "label_id": { "name": "Label ID", "description": "The ID(s) of the label(s) to add the device(s).", "required": true, "selector": { "label": { "multiple": true } } }, "device_id": { "name": "Device ID", "description": "The ID(s) of the device(s) to add the label(s) to.", "required": true, "selector": { "device": { "multiple": true } } } } }, "remove_label_from_area": { "name": "Remove a label from an area \uD83D\uDC7B", "description": "Removes a label to an area. If multiple labels or multiple areas are provided, all combinations will be removed.", "fields": { "label_id": { "name": "Label ID", "description": "The ID(s) of the label(s) to remove from the area(s).", "required": true, "selector": { "label": { "multiple": true } } }, "area_id": { "name": "Area ID", "description": "The ID(s) of the area(s) to remove the label(s) from.", "required": true, "selector": { "area": { "multiple": true } } } } }, "set_area_aliases": { "name": "Sets aliases for an area \uD83D\uDC7B", "description": "Sets aliases for an area. Overwrite and removed any existing aliases, fully replacing them with the new ones.", "fields": { "area_id": { "name": "Area ID", "description": "The ID of the area to set the aliases for.", "required": true, "selector": { "area": { "multiple": false } } }, "aliases": { "name": "Aliases", "description": "The aliases to set for the area.", "required": true, "selector": { "object": { "multiple": false } } } } }, "set_floor_aliases": { "name": "Sets aliases for a floor \uD83D\uDC7B", "description": "Sets aliases for a floor. Overwrite and removed any existing aliases, fully replacing them with the new ones.", "fields": { "floor_id": { "name": "Floor ID", "description": "The ID of the floor to set the aliases for.", "required": true, "selector": { "floor": { "multiple": false } } }, "aliases": { "name": "Aliases", "description": "The aliases to set for the floor.", "required": true, "selector": { "object": { "multiple": false } } } } }, "add_area_to_floor": { "name": "Add an area to a floor \uD83D\uDC7B", "description": "Adds an area to a floor. Please note, if the area is already on a floor, it will be removed from the previous floor.", "fields": { "floor_id": { "name": "Floor ID", "description": "The ID of the floor to add the area on.", "required": true, "selector": { "floor": { "multiple": false } } }, "area_id": { "name": "Area ID", "description": "The ID of the area(s) to add to the floor.", "required": true, "selector": { "area": { "multiple": true } } } } }, "remove_alias_from_floor": { "name": "Remove an alias from a floor \uD83D\uDC7B", "description": "Removes an alias from a floor.", "fields": { "floor_id": { "name": "Floor ID", "description": "The ID of the floor to remove the alias from.", "required": true, "selector": { "floor": { "multiple": false } } }, "alias": { "name": "Alias", "description": "The alias (or list of aliasses) to remove from the floor.", "required": true, "selector": { "object": { "multiple": false } } } } }, "add_entity_to_area": { "name": "Add an entity to an area \uD83D\uDC7B", "description": "Adds an entity to an area. Please note, if the enity is already in an area, it will be removed from the previous area. This will override the area the device, that provides this entity, is in.", "fields": { "area_id": { "name": "Area ID", "description": "The ID of the area to add the entity to.", "required": true, "selector": { "area": { "multiple": false } } }, "entity_id": { "name": "Entity ID", "description": "The ID of the entity (or entities) to add to the area.", "required": true, "selector": { "entity": { "multiple": true, "reorder": false } } } } }, "remove_entity_from_area": { "name": "Remove an entity from an area \uD83D\uDC7B", "description": "Removes an entity from an area. As an entity can only be in one area, this call doesn\u0027t need to specify the area. Please note, the entity will still be in the area of the device that provides it after this call.", "fields": { "entity_id": { "name": "Entity ID", "description": "The ID of the entity (or entities) to remove the area from.", "required": true, "selector": { "entity": { "multiple": true, "reorder": false } } } } }, "remove_device_from_area": { "name": "Remove a device from an area \uD83D\uDC7B", "description": "Removes a device from an area. As a device can only be in one area, this call doesn\u0027t need to specify the area.", "fields": { "device_id": { "name": "Device ID", "description": "The ID of the device to remove the area from.", "required": true, "selector": { "device": { "multiple": true } } } } }, "add_alias_to_floor": { "name": "Add an alias to a floor \uD83D\uDC7B", "description": "Adds an alias to a floor.", "fields": { "floor_id": { "name": "Floor ID", "description": "The ID of the floor to add the alias to.", "required": true, "selector": { "floor": { "multiple": false } } }, "alias": { "name": "Alias", "description": "The alias (or list of aliasses) to add to the floor.", "required": true, "selector": { "object": { "multiple": false } } } } }, "hide_entity": { "name": "Hide an entity \uD83D\uDC7B", "description": "Hides an entity (or entities) on the fly.", "fields": { "entity_id": { "name": "Entity", "description": "The entity/entities to hide.", "required": true, "selector": { "entity": { "multiple": true, "reorder": false } } } } }, "add_label_to_entity": { "name": "Add a label to an entity \uD83D\uDC7B", "description": "Adds a label to an entity. If multiple labels or multiple entities are provided, all combinations will be added.", "fields": { "label_id": { "name": "Label ID", "description": "The ID(s) of the label(s) to add the entity/entities.", "required": true, "selector": { "label": { "multiple": true } } }, "entity_id": { "name": "Entity ID", "description": "The ID(s) of the entity/entities to add the label(s) to.", "required": true, "selector": { "entity": { "multiple": true, "reorder": false } } } } }, "remove_label_from_device": { "name": "Remove a label from a device \uD83D\uDC7B", "description": "Removes a label from a device. If multiple labels or multiple devices are provided, all combinations will be removed.", "fields": { "label_id": { "name": "Label ID", "description": "The ID(s) of the label(s) to remove from the device(s).", "required": true, "selector": { "label": { "multiple": true } } }, "device_id": { "name": "Device ID", "description": "The ID(s) of the device(s) to remove the label(s) from.", "required": true, "selector": { "device": { "multiple": true } } } } }, "remove_alias_from_area": { "name": "Remove an alias from an area \uD83D\uDC7B", "description": "Removes an alias from an area.", "fields": { "area_id": { "name": "Area ID", "description": "The ID of the area to remove the alias from.", "required": true, "selector": { "area": { "multiple": false } } }, "alias": { "name": "Alias", "description": "The alias (or list of aliasses) to remove from the area.", "required": true, "selector": { "object": { "multiple": false } } } } }, "add_alias_to_area": { "name": "Add an alias to an area \uD83D\uDC7B", "description": "Adds an alias to an area.", "fields": { "area_id": { "name": "Area ID", "description": "The ID of the area to add the alias to.", "required": true, "selector": { "area": { "multiple": false } } }, "alias": { "name": "Alias", "description": "The alias (or list of aliasses) to add to the area.", "required": true, "selector": { "object": { "multiple": false } } } } }, "disable_config_entry": { "name": "Disable an integration \uD83D\uDC7B", "description": "Disables an integration configuration entry.", "fields": { "config_entry_id": { "name": "Config entry", "description": "The integration configuration entry to disable.", "required": true, "selector": { "config_entry": {} } } } }, "create_floor": { "name": "Create a floor \uD83D\uDC7B", "description": "Creates a new floor on the fly.", "fields": { "name": { "name": "Name", "description": "The name of the floor to create.", "required": true, "selector": { "text": { "multiline": false, "multiple": false } } }, "icon": { "name": "Icon", "description": "Icon to use for the floor.", "required": false, "selector": { "icon": { "placeholder": "mdi:texture-box" } } }, "level": { "name": "Level", "description": "The level the floor is on in your home.", "required": false, "selector": { "number": { "step": 1.0, "mode": "box" } } }, "aliases": { "name": "Aliases", "description": "A list of aliases for the floor. This is useful if you want to use the floor in a different language or different nickname.", "selector": { "object": { "multiple": false } } } } }, "create_area": { "name": "Create an area \uD83D\uDC7B", "description": "Creates a new area on the fly.", "fields": { "name": { "name": "Name", "description": "The name of the area to create.", "required": true, "selector": { "text": { "multiline": false, "multiple": false } } }, "icon": { "name": "Icon", "description": "Icon to use for the area.", "required": false, "selector": { "icon": { "placeholder": "mdi:texture-box" } } }, "aliases": { "name": "Aliases", "description": "A list of aliases for the area. This is useful if you want to use the area in a different language or different nickname.", "selector": { "object": { "multiple": false } } } } }, "enable_config_entry": { "name": "Enable an integration \uD83D\uDC7B", "description": "Enables an integration configuration entry.", "fields": { "config_entry_id": { "name": "Config entry", "description": "The integration configuration entry to enable.", "required": true, "selector": { "config_entry": {} } } } }, "update_entity_id": { "name": "Update an entity\u0027s ID \uD83D\uDC7B", "description": "Updates an entity\u0027s ID on the fly.", "fields": { "entity_id": { "name": "Entity", "description": "The entity/entities to update.", "required": true, "selector": { "entity": { "multiple": false, "reorder": false } } }, "new_entity_id": { "name": "New Entity ID", "description": "The new ID for the entity", "required": true, "selector": { "text": { "multiline": false, "multiple": false } } } } }, "delete_label": { "name": "Delete a label \uD83D\uDC7B", "description": "Deletes a label on the fly.", "fields": { "label_id": { "name": "Label ID", "description": "The ID of the label to delete.", "required": true, "selector": { "label": { "multiple": false } } } } }, "remove_area_from_floor": { "name": "Remove an area from a floor \uD83D\uDC7B", "description": "Removes an area from a floor. As an area can only be on one floor, this call doesn\u0027t need to specify the floor.", "fields": { "area_id": { "name": "Area ID", "description": "The ID of the area to remove the floor from.", "required": true, "selector": { "area": { "multiple": true } } } } }, "add_label_to_area": { "name": "Add a label to an area \uD83D\uDC7B", "description": "Adds a label to an area. If multiple labels or multiple areas are provided, all combinations will be added.", "fields": { "label_id": { "name": "Label ID", "description": "The ID(s) of the label(s) to add the area(s).", "required": true, "selector": { "label": { "multiple": true } } }, "area_id": { "name": "Area ID", "description": "The ID(s) of the area(s) to add the label(s) to.", "required": true, "selector": { "area": { "multiple": true } } } } }, "delete_all_orphaned_entities": { "name": "Delete all orphaned entities \uD83D\uDC7B", "description": "Deletes all orphaned entities that no longer have an integration that claim/provide them. Please note, if the integration was just removed, it might need a restart for Home Assistant to realize they are orphaned.\n**WARNING** Entities might have been marked orphaned because an integration is offline or not working since Home Assistant started. Calling this action will delete those entities as well.", "fields": {} }, "ignore_all_discovered": { "name": "Ignore all currently discovered devices \uD83D\uDC7B", "description": "Ignore all currently discovered devices that are shown on the integrations dashboard. This will not ignore devices that are discovered after this.", "fields": { "domain": { "name": "Integration domain", "description": "The integration domain to ignore all discovered devices for. If not provided, all domains will be considered to be ignored.", "required": false, "selector": { "text": { "multiline": false, "multiple": false } } } } }, "list_orphaned_database_entities": { "name": "List all orphaned database entities \uD83D\uDC7B", "description": "Lists all orphaned database entities unclaimed by any integration.", "fields": {}, "response": { "optional": false } }, "unhide_entity": { "name": "Unhide an entity \uD83D\uDC7B", "description": "Unhides an entity (or entities) on the fly.", "fields": { "entity_id": { "name": "Entity", "description": "The entity/entities to unhide.", "required": true, "selector": { "entity": { "multiple": true, "reorder": false } } } } }, "rename_entity": { "name": "Rename an entity \uD83D\uDC7B", "description": "Renames an entity (or entities) on the fly.", "fields": { "entity_id": { "name": "Entity", "description": "The entity/entities to rename.", "required": true, "selector": { "entity": { "multiple": true, "reorder": false } } }, "name": { "name": "Name", "description": "The new name for the entity/entities.", "required": true, "selector": { "text": { "multiline": false, "multiple": false } } } } }, "disable_device": { "name": "Disable a device \uD83D\uDC7B", "description": "Disables a device on the fly.", "fields": { "device_id": { "name": "Device", "description": "The device(s) to disable.", "required": true, "selector": { "device": { "multiple": true } } } } }, "disable_polling": { "name": "Disable polling for updates \uD83D\uDC7B", "description": "Disables polling for updates for an integration configuration entry.", "fields": { "config_entry_id": { "name": "Config entry", "description": "The integration configuration entry to disable polling for.", "required": true, "selector": { "config_entry": {} } } } }, "delete_area": { "name": "Delete an area \uD83D\uDC7B", "description": "Deletes a new area on the fly.", "fields": { "area_id": { "name": "Area ID", "description": "The ID of the area to delete.", "required": true, "selector": { "area": { "multiple": false } } } } }, "delete_floor": { "name": "Delete a floor \uD83D\uDC7B", "description": "Deletes a floor on the fly.", "fields": { "floor_id": { "name": "Floor ID", "description": "The ID of the floor to delete.", "required": true, "selector": { "floor": { "multiple": false } } } } }, "enable_device": { "name": "Enable a device \uD83D\uDC7B", "description": "Enables a device on the fly.", "fields": { "device_id": { "name": "Device", "description": "The device(s) to enable.", "required": true, "selector": { "device": { "multiple": true } } } } }, "enable_polling": { "name": "Enable polling for updates \uD83D\uDC7B", "description": "Enables polling for updates for an integration configuration entry.", "fields": { "config_entry_id": { "name": "Config entry", "description": "The integration configuration entry to enable polling for.", "required": true, "selector": { "config_entry": {} } } } }, "enable_entity": { "name": "Enable an entity \uD83D\uDC7B", "description": "Enables an entity (or entities) on the fly.", "fields": { "entity_id": { "name": "Entity", "description": "The entity/entities to enable.", "required": true, "selector": { "entity": { "multiple": true, "reorder": false } } } } }, "remove_label_from_entity": { "name": "Remove a label from an entity \uD83D\uDC7B", "description": "Removes a label from an entity. If multiple labels or multiple entities are provided, all combinations will be removed.", "fields": { "label_id": { "name": "Label ID", "description": "The ID(s) of the label(s) to remove from the entity/entities.", "required": true, "selector": { "label": { "multiple": true } } }, "entity_id": { "name": "Entity ID", "description": "The ID(s) of the entity/entities to remove the label(s) from.", "required": true, "selector": { "entity": { "multiple": true, "reorder": false } } } } }, "restart": { "name": "Restart \uD83D\uDC7B", "description": "Restart the Home Assistant action.", "fields": { "safe_mode": { "name": "Safe mode", "description": "If the restart should be done in safe mode. This will disable all custom integrations and frontend modules.", "required": false, "selector": { "boolean": {} } }, "force": { "name": "Force restart", "description": "Force the restart. WARNING! This will not gracefully shutdown Home Assistant, it will skip configuration checks and ignore running database migrations. Only use this if you know what you are doing.", "required": false, "selector": { "boolean": {} } } } }, "add_device_to_area": { "name": "Add a device to an area \uD83D\uDC7B", "description": "Adds an device to an area. Please note, if the device is already in an area, it will be removed from the previous area.", "fields": { "area_id": { "name": "Area ID", "description": "The ID of the area to add the device to.", "required": true, "selector": { "area": { "multiple": false } } }, "device_id": { "name": "Device ID", "description": "The ID of the device(s) to add to the area.", "required": true, "selector": { "device": { "multiple": true } } } } } }, "persistent_notification": { "create": { "fields": { "message": { "required": true, "example": "Please check your configuration.yaml.", "selector": { "text": { "multiline": false, "multiple": false } } }, "title": { "example": "Test notification", "selector": { "text": { "multiline": false, "multiple": false } } }, "notification_id": { "example": 1234, "selector": { "text": { "multiline": false, "multiple": false } } } } }, "dismiss": { "fields": { "notification_id": { "required": true, "example": 1234, "selector": { "text": { "multiline": false, "multiple": false } } } } }, "dismiss_all": { "fields": {} } }, "system_log": { "clear": { "fields": {} }, "write": { "fields": { "message": { "required": true, "example": "Something went wrong", "selector": { "text": { "multiline": false, "multiple": false } } }, "level": { "default": "error", "selector": { "select": { "options": [ "debug", "info", "warning", "error", "critical" ], "translation_key": "level", "multiple": false, "sort": false, "custom_value": false } } }, "logger": { "example": "mycomponent.myplatform", "selector": { "text": { "multiline": false, "multiple": false } } } } } }, "logger": { "set_default_level": { "fields": { "level": { "selector": { "select": { "options": [ "debug", "info", "warning", "error", "fatal", "critical" ], "translation_key": "level", "multiple": false, "sort": false, "custom_value": false } } } } }, "set_level": { "fields": {} } }, "frontend": { "set_theme": { "fields": { "name": { "required": false, "example": "default", "selector": { "theme": { "include_default": true } } }, "name_dark": { "required": false, "example": "default", "selector": { "theme": { "include_default": true } } } } }, "reload_themes": { "fields": {} } }, "recorder": { "purge": { "fields": { "keep_days": { "selector": { "number": { "min": 0.0, "max": 365.0, "unit_of_measurement": "days", "step": 1.0, "mode": "slider" } } }, "repack": { "default": false, "selector": { "boolean": {} } }, "apply_filter": { "default": false, "selector": { "boolean": {} } } } }, "purge_entities": { "fields": { "entity_id": { "required": false, "selector": { "entity": { "multiple": true, "reorder": false } } }, "domains": { "example": "sun", "required": false, "selector": { "object": { "multiple": false } } }, "entity_globs": { "example": "domain*.object_id*", "required": false, "selector": { "object": { "multiple": false } } }, "keep_days": { "default": 0, "selector": { "number": { "min": 0.0, "max": 365.0, "unit_of_measurement": "days", "step": 1.0, "mode": "slider" } } } } }, "enable": { "fields": {} }, "disable": { "fields": {} }, "get_statistics": { "fields": { "start_time": { "required": true, "example": "2025-01-01 00:00:00", "selector": { "datetime": {} } }, "end_time": { "required": false, "example": "2025-01-02 00:00:00", "selector": { "datetime": {} } }, "statistic_ids": { "required": true, "example": [ "sensor.energy_consumption", "sensor.temperature" ], "selector": { "statistic": { "multiple": true } } }, "period": { "required": true, "example": "hour", "selector": { "select": { "options": [ "5minute", "hour", "day", "week", "month" ], "multiple": false, "sort": false, "custom_value": false } } }, "types": { "required": true, "example": [ "mean", "sum" ], "selector": { "select": { "options": [ "change", "last_reset", "max", "mean", "min", "state", "sum" ], "multiple": true, "sort": false, "custom_value": false } } }, "units": { "required": false, "example": { "energy": "kWh", "temperature": "\u00B0C" }, "selector": { "object": { "multiple": false } } } }, "response": { "optional": false } }, "import_statistics": { "name": "Import statistics \uD83D\uDC7B", "description": "Import long-term statistics.", "fields": { "statistic_id": { "name": "Statistics ID", "description": "The statistics ID (entity ID) to import for.", "required": true, "selector": { "entity": { "multiple": false, "reorder": false } } }, "name": { "name": "Name", "description": "The name of the statistics.", "required": false, "selector": { "text": { "multiline": false, "multiple": false } } }, "source": { "name": "Source", "description": "The source of the statistics data.", "required": true, "selector": { "text": { "multiline": false, "multiple": false } } }, "unit_of_measurement": { "name": "Unit of measurement", "description": "The unit of measurement of the statistics.", "required": false, "selector": { "text": { "multiline": false, "multiple": false } } }, "has_mean": { "name": "Has a mean", "description": "If the statistics has a mean value.", "required": true, "selector": { "boolean": {} } }, "has_sum": { "name": "Has a sum", "description": "If the statistics has a sum value.", "required": true, "selector": { "boolean": {} } }, "stats": { "name": "Statistics", "description": "A list of mappings/dictionaries with statistics to import. The dictionaries must contain a \u0022start\u0022 key with a datetime string other valid options are \u0022mean\u0022, \u0022sum\u0022, \u0022min\u0022, \u0022max\u0022, \u0022last_reset\u0022, and \u0022state\u0022. All of those are optional and either an integer or a float, except for \u0022last_reset\u0022 which is a datetime string.", "required": true, "selector": { "object": { "multiple": false } } } } } }, "hassio": { "addon_start": { "fields": { "addon": { "required": true, "example": "core_ssh", "selector": { "addon": {} } } } }, "addon_stop": { "fields": { "addon": { "required": true, "example": "core_ssh", "selector": { "addon": {} } } } }, "addon_restart": { "fields": { "addon": { "required": true, "example": "core_ssh", "selector": { "addon": {} } } } }, "addon_stdin": { "fields": { "addon": { "required": true, "example": "core_ssh", "selector": { "addon": {} } } } }, "app_start": { "fields": { "app": { "required": true, "example": "core_ssh", "selector": { "app": {} } } } }, "app_stop": { "fields": { "app": { "required": true, "example": "core_ssh", "selector": { "app": {} } } } }, "app_restart": { "fields": { "app": { "required": true, "example": "core_ssh", "selector": { "app": {} } } } }, "app_stdin": { "fields": { "app": { "required": true, "example": "core_ssh", "selector": { "app": {} } }, "input": { "required": true, "selector": { "object": { "multiple": false } } } } }, "host_shutdown": { "fields": {} }, "host_reboot": { "fields": {} }, "backup_full": { "fields": { "name": { "example": "Backup 1", "selector": { "text": { "multiline": false, "multiple": false } } }, "password": { "example": "password", "selector": { "text": { "multiline": false, "multiple": false } } }, "compressed": { "default": true, "selector": { "boolean": {} } }, "location": { "example": "my_backup_mount", "selector": { "backup_location": {} } }, "homeassistant_exclude_database": { "default": false, "selector": { "boolean": {} } } } }, "backup_partial": { "fields": { "homeassistant": { "selector": { "boolean": {} } }, "homeassistant_exclude_database": { "default": false, "selector": { "boolean": {} } }, "apps": { "example": [ "core_ssh", "core_samba", "core_mosquitto" ], "selector": { "object": { "multiple": false } } }, "addons": { "example": [ "core_ssh", "core_samba", "core_mosquitto" ], "selector": { "object": { "multiple": false } } }, "folders": { "example": [ "homeassistant", "share" ], "selector": { "object": { "multiple": false } } }, "name": { "example": "Partial backup 1", "selector": { "text": { "multiline": false, "multiple": false } } }, "password": { "example": "password", "selector": { "text": { "multiline": false, "multiple": false } } }, "compressed": { "default": true, "selector": { "boolean": {} } }, "location": { "example": "my_backup_mount", "selector": { "backup_location": {} } } } }, "restore_full": { "fields": { "slug": { "required": true, "selector": { "text": { "multiline": false, "multiple": false } } }, "password": { "example": "password", "selector": { "text": { "multiline": false, "multiple": false } } } } }, "restore_partial": { "fields": { "slug": { "required": true, "selector": { "text": { "multiline": false, "multiple": false } } }, "homeassistant": { "selector": { "boolean": {} } }, "folders": { "example": [ "homeassistant", "share" ], "selector": { "object": { "multiple": false } } }, "apps": { "example": [ "core_ssh", "core_samba", "core_mosquitto" ], "selector": { "object": { "multiple": false } } }, "addons": { "example": [ "core_ssh", "core_samba", "core_mosquitto" ], "selector": { "object": { "multiple": false } } }, "password": { "example": "password", "selector": { "text": { "multiline": false, "multiple": false } } } } } }, "ffmpeg": { "start": { "fields": { "entity_id": { "selector": { "entity": { "integration": "ffmpeg", "domain": [ "binary_sensor" ], "multiple": false, "reorder": false } } } } }, "stop": { "fields": { "entity_id": { "selector": { "entity": { "integration": "ffmpeg", "domain": [ "binary_sensor" ], "multiple": false, "reorder": false } } } } }, "restart": { "fields": { "entity_id": { "selector": { "entity": { "integration": "ffmpeg", "domain": [ "binary_sensor" ], "multiple": false, "reorder": false } } } } } }, "switch": { "turn_off": { "fields": {}, "target": { "entity": [ { "domain": [ "switch" ] } ] } }, "turn_on": { "fields": {}, "target": { "entity": [ { "domain": [ "switch" ] } ] } }, "toggle": { "fields": {}, "target": { "entity": [ { "domain": [ "switch" ] } ] } } }, "update": { "install": { "fields": { "version": { "required": false, "example": "1.0.0", "selector": { "text": { "multiline": false, "multiple": false } } }, "backup": { "filter": { "supported_features": [ 8 ] }, "required": false, "selector": { "boolean": {} } } }, "target": { "entity": [ { "domain": [ "update" ] } ] } }, "skip": { "fields": {}, "target": { "entity": [ { "domain": [ "update" ] } ] } }, "clear_skipped": { "fields": {}, "target": { "entity": [ { "domain": [ "update" ] } ] } } }, "backup": { "create_automatic": { "fields": {} } }, "conversation": { "process": { "fields": { "text": { "example": "Turn all lights on", "required": true, "selector": { "text": { "multiline": false, "multiple": false } } }, "language": { "example": "NL", "selector": { "text": { "multiline": false, "multiple": false } } }, "agent_id": { "example": "homeassistant", "selector": { "conversation_agent": {} } }, "conversation_id": { "example": "my_conversation_1", "selector": { "text": { "multiline": false, "multiple": false } } } }, "response": { "optional": true } }, "reload": { "fields": { "language": { "example": "NL", "selector": { "text": { "multiline": false, "multiple": false } } }, "agent_id": { "example": "homeassistant", "selector": { "conversation_agent": {} } } } } }, "tts": { "speak": { "fields": { "media_player_entity_id": { "required": true, "selector": { "entity": { "domain": [ "media_player" ], "multiple": false, "reorder": false } } }, "message": { "example": "My name is hanna", "required": true, "selector": { "text": { "multiline": false, "multiple": false } } }, "cache": { "default": true, "selector": { "boolean": {} } }, "language": { "example": "ru", "selector": { "text": { "multiline": false, "multiple": false } } }, "options": { "advanced": true, "example": "platform specific", "selector": { "object": { "multiple": false } } } }, "target": { "entity": [ { "domain": [ "tts" ] } ] } }, "clear_cache": { "fields": {} }, "cloud_say": { "name": "Say a TTS message with cloud", "description": "Say something using text-to-speech on a media player with cloud.", "fields": { "entity_id": { "required": true, "selector": { "entity": { "domain": "media_player" } } }, "message": { "example": "My name is hanna", "required": true, "selector": { "text": null } }, "cache": { "default": false, "selector": { "boolean": null } }, "language": { "example": "ru", "selector": { "text": null } }, "options": { "advanced": true, "example": "platform specific", "selector": { "object": null } } } } }, "cloud": { "remote_connect": { "fields": {} }, "remote_disconnect": { "fields": {} } }, "scene": { "reload": { "fields": {} }, "apply": { "fields": { "entities": { "required": true, "example": "light.kitchen: \u0022on\u0022\nlight.ceiling:\n state: \u0022on\u0022\n brightness: 80\n", "selector": { "object": { "multiple": false } } }, "transition": { "selector": { "number": { "min": 0.0, "max": 300.0, "unit_of_measurement": "seconds", "step": 1.0, "mode": "slider" } } } } }, "create": { "fields": { "scene_id": { "required": true, "example": "all_lights", "selector": { "text": { "multiline": false, "multiple": false } } }, "entities": { "advanced": true, "example": "light.tv_back_light: \u0022on\u0022\nlight.ceiling:\n state: \u0022on\u0022\n brightness: 200\n", "selector": { "object": { "multiple": false } } }, "snapshot_entities": { "example": "- light.ceiling\n- light.kitchen\n", "selector": { "entity": { "multiple": true, "reorder": false } } } } }, "delete": { "fields": {}, "target": { "entity": [ { "integration": "homeassistant", "domain": [ "scene" ] } ] } }, "turn_on": { "fields": { "transition": { "selector": { "number": { "min": 0.0, "max": 300.0, "unit_of_measurement": "seconds", "step": 1.0, "mode": "slider" } } } }, "target": { "entity": [ { "domain": [ "scene" ] } ] } } }, "camera": { "enable_motion_detection": { "fields": {}, "target": { "entity": [ { "domain": [ "camera" ] } ] } }, "disable_motion_detection": { "fields": {}, "target": { "entity": [ { "domain": [ "camera" ] } ] } }, "turn_off": { "fields": {}, "target": { "entity": [ { "domain": [ "camera" ] } ] } }, "turn_on": { "fields": {}, "target": { "entity": [ { "domain": [ "camera" ] } ] } }, "snapshot": { "fields": { "filename": { "required": true, "example": "/tmp/snapshot_{{ entity_id.name }}.jpg", "selector": { "text": { "multiline": false, "multiple": false } } } }, "target": { "entity": [ { "domain": [ "camera" ] } ] } }, "play_stream": { "fields": { "media_player": { "required": true, "selector": { "entity": { "domain": [ "media_player" ], "multiple": false, "reorder": false } } }, "format": { "default": "hls", "selector": { "select": { "options": [ "hls" ], "multiple": false, "sort": false, "custom_value": false } } } }, "target": { "entity": [ { "domain": [ "camera" ] } ] } }, "record": { "fields": { "filename": { "required": true, "example": "/tmp/snapshot_{{ entity_id.name }}.mp4", "selector": { "text": { "multiline": false, "multiple": false } } }, "duration": { "default": 30, "selector": { "number": { "min": 1.0, "max": 3600.0, "unit_of_measurement": "seconds", "step": 1.0, "mode": "slider" } } }, "lookback": { "default": 0, "selector": { "number": { "min": 0.0, "max": 300.0, "unit_of_measurement": "seconds", "step": 1.0, "mode": "slider" } } } }, "target": { "entity": [ { "domain": [ "camera" ] } ] } } }, "select": { "select_first": { "fields": {}, "target": { "entity": [ { "domain": [ "select" ] } ] } }, "select_last": { "fields": {}, "target": { "entity": [ { "domain": [ "select" ] } ] } }, "select_next": { "fields": { "cycle": { "default": true, "selector": { "boolean": {} } } }, "target": { "entity": [ { "domain": [ "select" ] } ] } }, "select_option": { "fields": { "option": { "required": true, "example": "\u0022Item A\u0022", "selector": { "state": { "hide_states": [ "unavailable", "unknown" ], "multiple": false } } } }, "target": { "entity": [ { "domain": [ "select" ] } ] } }, "select_previous": { "fields": { "cycle": { "default": true, "selector": { "boolean": {} } } }, "target": { "entity": [ { "domain": [ "select" ] } ] } }, "random": { "name": "Select random option \uD83D\uDC7B", "description": "Select an random option for a select entity.", "fields": { "options": { "name": "Options", "description": "Limits the options to select from. If not provided, all options will be considered.", "required": false, "selector": { "object": { "multiple": false } } } }, "target": { "entity": [ { "domain": [ "select" ] } ] } } }, "number": { "set_value": { "fields": { "value": { "example": 42, "required": true, "selector": { "text": { "multiline": false, "multiple": false } } } }, "target": { "entity": [ { "domain": [ "number" ] } ] } }, "min": { "name": "Set minimum value \uD83D\uDC7B", "description": "Set a number entity to its minimum value.", "fields": {}, "target": { "entity": [ { "domain": [ "number" ] } ] } }, "decrement": { "name": "Decrease value \uD83D\uDC7B", "description": "Decrease a number entity value by a certain amount.", "fields": { "amount": { "name": "Amount", "description": "The amount to decrease the number with. If not provided, the step of the number entity will be used.", "required": false, "selector": { "number": { "step": 1.0, "mode": "box" } } } }, "target": { "entity": [ { "domain": [ "number" ] } ] } }, "increment": { "name": "Increase value \uD83D\uDC7B", "description": "Increase a number entity value by a certain amount.", "fields": { "amount": { "name": "Amount", "description": "The amount to increase the number with. If not provided, the step of the number entity will be used.", "required": false, "selector": { "number": { "step": 1.0, "mode": "box" } } } }, "target": { "entity": [ { "domain": [ "number" ] } ] } }, "max": { "name": "Set maximum value \uD83D\uDC7B", "description": "Set a number entity to its maximum value.", "fields": {}, "target": { "entity": [ { "domain": [ "number" ] } ] } } }, "input_select": { "reload": { "fields": {} }, "select_first": { "fields": {}, "target": { "entity": [ { "domain": [ "input_select" ] } ] } }, "select_last": { "fields": {}, "target": { "entity": [ { "domain": [ "input_select" ] } ] } }, "select_next": { "fields": { "cycle": { "default": true, "selector": { "boolean": {} } } }, "target": { "entity": [ { "domain": [ "input_select" ] } ] } }, "select_option": { "fields": { "option": { "required": true, "example": "\u0022Item A\u0022", "selector": { "state": { "hide_states": [ "unavailable", "unknown" ], "multiple": false } } } }, "target": { "entity": [ { "domain": [ "input_select" ] } ] } }, "select_previous": { "fields": { "cycle": { "default": true, "selector": { "boolean": {} } } }, "target": { "entity": [ { "domain": [ "input_select" ] } ] } }, "set_options": { "fields": { "options": { "required": true, "example": "[\u0022Item A\u0022, \u0022Item B\u0022, \u0022Item C\u0022]", "selector": { "text": { "multiple": true, "multiline": false } } } }, "target": { "entity": [ { "domain": [ "input_select" ] } ] } }, "shuffle": { "name": "Shuffle options \uD83D\uDC7B", "description": "Shuffles the list of selectable options for an \u0060input_select\u0060 entity. This is not persistent and will be undone once reloaded or Home Assistant restarts.", "fields": {}, "target": { "entity": [ { "domain": [ "input_select" ] } ] } }, "sort": { "name": "Sort options \uD83D\uDC7B", "description": "Sorts the list of selectable options for an \u0060input_select\u0060 entity. This is not persistent and will be undone once reloaded or Home Assistant restarts.", "fields": {}, "target": { "entity": [ { "domain": [ "input_select" ] } ] } }, "random": { "name": "Select random option \uD83D\uDC7B", "description": "Select an random option for an input_select entity.", "fields": { "options": { "name": "Options", "description": "Limits the options to select from. If not provided, all options will be considered.", "required": false, "selector": { "object": { "multiple": false } } } }, "target": { "entity": [ { "domain": [ "input_select" ] } ] } } }, "zone": { "reload": { "fields": {} }, "delete": { "name": "Delete a zone \uD83D\uDC7B", "description": "Delete a zone. This works only with zones created and managed via the UI. Zones created and managed in YAML cannot be managed by Spook.", "fields": { "entity_id": { "name": "Entity ID", "description": "The ID of the entity (or entities) to remove.", "required": true, "selector": { "entity": { "multiple": true, "filter": [ { "domain": [ "zone" ] } ], "reorder": false } } } } }, "update": { "name": "Update a zone \uD83D\uDC7B", "description": "Update properties of a zone on the fly.", "fields": { "entity_id": { "name": "Entity ID", "description": "The ID of the entity (or entities) to update.", "required": true, "selector": { "entity": { "filter": [ { "domain": [ "zone" ] } ], "multiple": false, "reorder": false } } }, "name": { "name": "Name", "description": "Name of the zone", "required": false, "selector": { "text": { "multiline": false, "multiple": false } } }, "icon": { "name": "Icon", "description": "Icon to use for the zone", "required": false, "selector": { "icon": { "placeholder": "mdi:map-marker" } } }, "latitude": { "name": "Latitude", "description": "Latitude of the zone", "required": false, "selector": { "number": { "min": -90.0, "max": 90.0, "step": "any", "mode": "box", "unit_of_measurement": "\u00B0" } } }, "longitude": { "name": "Longitude", "description": "Longitude of the zone", "required": false, "selector": { "number": { "min": -180.0, "max": 180.0, "step": "any", "mode": "box", "unit_of_measurement": "\u00B0" } } }, "radius": { "name": "Radius", "description": "Radius of the zone", "required": false, "default": 100, "selector": { "number": { "min": 0.0, "max": 999999999999.0, "step": "any", "unit_of_measurement": "m", "mode": "box" } } } } }, "create": { "name": "Create a zone \uD83D\uDC7B", "description": "Create a new zone in Home Assistant on the fly.", "fields": { "name": { "name": "Name", "description": "Name of the zone", "required": true, "selector": { "text": { "multiline": false, "multiple": false } } }, "icon": { "name": "Icon", "description": "Icon to use for the zone", "required": false, "selector": { "icon": { "placeholder": "mdi:map-marker" } } }, "latitude": { "name": "Latitude", "description": "Latitude of the zone", "required": true, "selector": { "number": { "min": -90.0, "max": 90.0, "step": "any", "mode": "box", "unit_of_measurement": "\u00B0" } } }, "longitude": { "name": "Longitude", "description": "Longitude of the zone", "required": true, "selector": { "number": { "min": -180.0, "max": 180.0, "step": "any", "mode": "box", "unit_of_measurement": "\u00B0" } } }, "radius": { "name": "Radius", "description": "Radius of the zone", "required": false, "default": 100, "selector": { "number": { "min": 0.0, "max": 999999999999.0, "unit_of_measurement": "m", "mode": "box", "step": 1.0 } } } } } }, "timer": { "reload": { "fields": {} }, "start": { "fields": { "duration": { "example": "00:01:00 or 60", "selector": { "duration": {} } } }, "target": { "entity": [ { "domain": [ "timer" ] } ] } }, "pause": { "fields": {}, "target": { "entity": [ { "domain": [ "timer" ] } ] } }, "cancel": { "fields": {}, "target": { "entity": [ { "domain": [ "timer" ] } ] } }, "finish": { "fields": {}, "target": { "entity": [ { "domain": [ "timer" ] } ] } }, "change": { "fields": { "duration": { "default": 0, "required": true, "example": "00:01:00, 60 or -60", "selector": { "duration": { "allow_negative": true } } } }, "target": { "entity": [ { "domain": [ "timer" ] } ] } }, "set_duration": { "name": "Set duration \uD83D\uDC7B", "description": "Set duration for an existing timer.", "fields": { "duration": { "name": "Duration", "description": "New duration for the timer, as a timedelta string.", "required": true, "example": "00:01:00, 60", "selector": { "text": { "multiline": false, "multiple": false } } } }, "target": { "entity": [ { "domain": [ "timer" ] } ] } } }, "logbook": { "log": { "fields": { "name": { "required": true, "example": "Kitchen", "selector": { "text": { "multiline": false, "multiple": false } } }, "message": { "required": true, "example": "is being used", "selector": { "text": { "multiline": false, "multiple": false } } }, "entity_id": { "selector": { "entity": { "multiple": false, "reorder": false } } }, "domain": { "example": "light", "selector": { "text": { "multiline": false, "multiple": false } } } } } }, "script": { "updatenordpoolprices": { "name": "Update NordPool Prices", "description": "", "fields": {}, "response": { "optional": true } }, "system_purge_device_history": { "name": "System: Purge Device History", "description": "", "fields": { "device_id": { "name": "Device", "description": "The device to purge all history from.", "required": true, "selector": { "device": { "multiple": true } }, "advanced": false } }, "response": { "optional": true } }, "reload": { "fields": {} }, "turn_on": { "fields": {}, "target": { "entity": [ { "domain": [ "script" ] } ] } }, "turn_off": { "fields": {}, "target": { "entity": [ { "domain": [ "script" ] } ] } }, "toggle": { "fields": {}, "target": { "entity": [ { "domain": [ "script" ] } ] } } }, "input_number": { "reload": { "fields": {} }, "set_value": { "fields": { "value": { "required": true, "selector": { "number": { "min": 0.0, "max": 9.223372036854776e18, "step": 0.001, "mode": "box" } } } }, "target": { "entity": [ { "domain": [ "input_number" ] } ] } }, "min": { "name": "Set minimum value \uD83D\uDC7B", "description": "Set an input number entity to its minimum value.", "fields": {}, "target": { "entity": [ { "domain": [ "input_number" ] } ] } }, "decrement": { "name": "Decrease value \uD83D\uDC7B", "description": "Decrease an input number entity value by a certain amount.", "fields": { "amount": { "name": "Amount", "description": "The amount to decrease the input number with. If not provided, the step of the number entity will be used.", "required": false, "selector": { "number": { "step": 1.0, "mode": "box" } } } }, "target": { "entity": [ { "domain": [ "input_number" ] } ] } }, "increment": { "name": "Increase value \uD83D\uDC7B", "description": "Increase an input number entity value by a certain amount.", "fields": { "amount": { "name": "Amount", "description": "The amount to increase the input number with. If not provided, the step of the number entity will be used.", "required": false, "selector": { "number": { "step": 1.0, "mode": "box" } } } }, "target": { "entity": [ { "domain": [ "input_number" ] } ] } }, "max": { "name": "Set maximum value \uD83D\uDC7B", "description": "Set an input number entity to its maximum value.", "fields": {}, "target": { "entity": [ { "domain": [ "input_number" ] } ] } } }, "person": { "reload": { "fields": {} }, "add_device_tracker": { "name": "Add a device tracker \uD83D\uDC7B", "description": "Add a device tracker to a person.", "fields": { "entity_id": { "name": "Person", "description": "The person entity ID to add the device tracker to.", "required": true, "selector": { "entity": { "filter": [ { "domain": [ "person" ] } ], "multiple": false, "reorder": false } } }, "device_tracker": { "name": "Device tracker", "description": "The device tracker entity ID to add to the person.", "required": true, "selector": { "entity": { "multiple": true, "filter": [ { "domain": [ "device_tracker" ] } ], "reorder": false } } } } }, "remove_device_tracker": { "name": "Remove a device tracker \uD83D\uDC7B", "description": "Remove a device tracker from a person.", "fields": { "entity_id": { "name": "Person", "description": "The person entity ID to remove the device tracker from.", "required": true, "selector": { "entity": { "filter": [ { "domain": [ "person" ] } ], "multiple": false, "reorder": false } } }, "device_tracker": { "name": "Device tracker", "description": "The device tracker entity ID to remove from the person.", "required": true, "selector": { "entity": { "multiple": true, "filter": [ { "domain": [ "device_tracker" ] } ], "reorder": false } } } } } }, "input_boolean": { "reload": { "fields": {} }, "turn_on": { "fields": {}, "target": { "entity": [ { "domain": [ "input_boolean" ] } ] } }, "turn_off": { "fields": {}, "target": { "entity": [ { "domain": [ "input_boolean" ] } ] } }, "toggle": { "fields": {}, "target": { "entity": [ { "domain": [ "input_boolean" ] } ] } } }, "input_button": { "reload": { "fields": {} }, "press": { "fields": {}, "target": { "entity": [ { "domain": [ "input_button" ] } ] } } }, "schedule": { "reload": { "fields": {} }, "get_schedule": { "fields": {}, "target": { "entity": [ { "domain": [ "schedule" ] } ] }, "response": { "optional": false } } }, "input_text": { "reload": { "fields": {} }, "set_value": { "fields": { "value": { "required": true, "example": "This is an example text", "selector": { "text": { "multiline": false, "multiple": false } } } }, "target": { "entity": [ { "domain": [ "input_text" ] } ] } } }, "input_datetime": { "reload": { "fields": {} }, "set_datetime": { "fields": { "date": { "example": "\u00222019-04-20\u0022", "selector": { "text": { "multiline": false, "multiple": false } } }, "time": { "example": "\u002205:04:20\u0022", "selector": { "time": {} } }, "datetime": { "example": "\u00222019-04-20 05:04:20\u0022", "selector": { "text": { "multiline": false, "multiple": false } } }, "timestamp": { "selector": { "number": { "min": 0.0, "max": 9.223372036854776e18, "mode": "box", "step": 1.0 } } } }, "target": { "entity": [ { "domain": [ "input_datetime" ] } ] } } }, "file": { "read_file": { "fields": { "file_name": { "example": "www/my_file.json", "selector": { "text": { "multiline": false, "multiple": false } } }, "file_encoding": { "example": "JSON", "selector": { "select": { "options": [ "JSON", "YAML" ], "multiple": false, "sort": false, "custom_value": false } } } }, "response": { "optional": false } } }, "utility_meter": { "reset": { "fields": {}, "target": { "entity": [ { "domain": [ "select" ], "integration": "utility_meter" } ] } }, "calibrate": { "fields": { "value": { "example": "100", "required": true, "selector": { "text": { "multiline": false, "multiple": false } } } }, "target": { "entity": [ { "domain": [ "sensor" ], "integration": "utility_meter" } ] } } }, "mqtt": { "publish": { "fields": { "topic": { "required": true, "example": "/homeassistant/hello", "selector": { "text": { "multiline": false, "multiple": false } } }, "payload": { "example": "The temperature is {{ states(\u0027sensor.temperature\u0027) }}", "selector": { "template": {} } }, "evaluate_payload": { "advanced": true, "default": false, "selector": { "boolean": {} } }, "qos": { "advanced": true, "default": 0, "selector": { "select": { "options": [ "0", "1", "2" ], "multiple": false, "sort": false, "custom_value": false } } }, "retain": { "default": false, "selector": { "boolean": {} } } } }, "dump": { "fields": { "topic": { "example": "OpenZWave/#", "selector": { "text": { "multiline": false, "multiple": false } } }, "duration": { "default": 5, "selector": { "number": { "min": 1.0, "max": 300.0, "unit_of_measurement": "seconds", "step": 1.0, "mode": "slider" } } } } }, "reload": { "fields": {} } }, "sonoff": { "send_command": { "fields": { "device": { "name": "Device", "description": "Device ID to send command to.", "example": "1000123456" }, "cmd": { "name": "Command", "description": "A single command to send.", "example": "switch" } }, "description": "Sends a command to a device.", "name": "Send Command" } }, "alarm_control_panel": { "alarm_disarm": { "fields": { "code": { "example": "1234", "selector": { "text": { "multiline": false, "multiple": false } } } }, "target": { "entity": [ { "domain": [ "alarm_control_panel" ] } ] } }, "alarm_arm_home": { "fields": { "code": { "example": "1234", "selector": { "text": { "multiline": false, "multiple": false } } } }, "target": { "entity": [ { "domain": [ "alarm_control_panel" ], "supported_features": [ 1 ] } ] } }, "alarm_arm_away": { "fields": { "code": { "example": "1234", "selector": { "text": { "multiline": false, "multiple": false } } } }, "target": { "entity": [ { "domain": [ "alarm_control_panel" ], "supported_features": [ 2 ] } ] } }, "alarm_arm_night": { "fields": { "code": { "example": "1234", "selector": { "text": { "multiline": false, "multiple": false } } } }, "target": { "entity": [ { "domain": [ "alarm_control_panel" ], "supported_features": [ 4 ] } ] } }, "alarm_arm_vacation": { "fields": { "code": { "example": "1234", "selector": { "text": { "multiline": false, "multiple": false } } } }, "target": { "entity": [ { "domain": [ "alarm_control_panel" ], "supported_features": [ 32 ] } ] } }, "alarm_arm_custom_bypass": { "fields": { "code": { "example": "1234", "selector": { "text": { "multiline": false, "multiple": false } } } }, "target": { "entity": [ { "domain": [ "alarm_control_panel" ], "supported_features": [ 16 ] } ] } }, "alarm_trigger": { "fields": { "code": { "example": "1234", "selector": { "text": { "multiline": false, "multiple": false } } } }, "target": { "entity": [ { "domain": [ "alarm_control_panel" ], "supported_features": [ 8 ] } ] } } }, "button": { "press": { "fields": {}, "target": { "entity": [ { "domain": [ "button" ] } ] } } }, "climate": { "turn_on": { "fields": {}, "target": { "entity": [ { "domain": [ "climate" ], "supported_features": [ 256 ] } ] } }, "turn_off": { "fields": {}, "target": { "entity": [ { "domain": [ "climate" ], "supported_features": [ 128 ] } ] } }, "toggle": { "fields": {}, "target": { "entity": [ { "domain": [ "climate" ], "supported_features": [ 128, 256 ] } ] } }, "set_hvac_mode": { "fields": { "hvac_mode": { "selector": { "state": { "hide_states": [ "unavailable", "unknown" ], "multiple": false } } } }, "target": { "entity": [ { "domain": [ "climate" ] } ] } }, "set_preset_mode": { "fields": { "preset_mode": { "required": true, "example": "away", "selector": { "text": { "multiline": false, "multiple": false } } } }, "target": { "entity": [ { "domain": [ "climate" ], "supported_features": [ 16 ] } ] } }, "set_temperature": { "fields": { "temperature": { "filter": { "supported_features": [ 1 ] }, "selector": { "number": { "min": 0.0, "max": 250.0, "step": 0.1, "mode": "box" } } }, "target_temp_high": { "filter": { "supported_features": [ 2 ] }, "advanced": true, "selector": { "number": { "min": 0.0, "max": 250.0, "step": 0.1, "mode": "box" } } }, "target_temp_low": { "filter": { "supported_features": [ 2 ] }, "advanced": true, "selector": { "number": { "min": 0.0, "max": 250.0, "step": 0.1, "mode": "box" } } }, "hvac_mode": { "selector": { "select": { "options": [ "off", "auto", "cool", "dry", "fan_only", "heat_cool", "heat" ], "translation_key": "hvac_mode", "multiple": false, "sort": false, "custom_value": false } } } }, "target": { "entity": [ { "domain": [ "climate" ], "supported_features": [ 1, 2 ] } ] } }, "set_humidity": { "fields": { "humidity": { "required": true, "selector": { "number": { "min": 30.0, "max": 99.0, "unit_of_measurement": "%", "step": 1.0, "mode": "slider" } } } }, "target": { "entity": [ { "domain": [ "climate" ], "supported_features": [ 4 ] } ] } }, "set_fan_mode": { "fields": { "fan_mode": { "required": true, "example": "low", "selector": { "text": { "multiline": false, "multiple": false } } } }, "target": { "entity": [ { "domain": [ "climate" ], "supported_features": [ 8 ] } ] } }, "set_swing_mode": { "fields": { "swing_mode": { "required": true, "example": "on", "selector": { "text": { "multiline": false, "multiple": false } } } }, "target": { "entity": [ { "domain": [ "climate" ], "supported_features": [ 32 ] } ] } }, "set_swing_horizontal_mode": { "fields": { "swing_horizontal_mode": { "required": true, "example": "on", "selector": { "text": { "multiline": false, "multiple": false } } } }, "target": { "entity": [ { "domain": [ "climate" ], "supported_features": [ 512 ] } ] } } }, "cover": { "open_cover": { "fields": {}, "target": { "entity": [ { "domain": [ "cover" ], "supported_features": [ 1 ] } ] } }, "close_cover": { "fields": {}, "target": { "entity": [ { "domain": [ "cover" ], "supported_features": [ 2 ] } ] } }, "set_cover_position": { "fields": { "position": { "required": true, "selector": { "number": { "min": 0.0, "max": 100.0, "unit_of_measurement": "%", "step": 1.0, "mode": "slider" } } } }, "target": { "entity": [ { "domain": [ "cover" ], "supported_features": [ 4 ] } ] } }, "stop_cover": { "fields": {}, "target": { "entity": [ { "domain": [ "cover" ], "supported_features": [ 8 ] } ] } }, "toggle": { "fields": {}, "target": { "entity": [ { "domain": [ "cover" ], "supported_features": [ 3 ] } ] } }, "open_cover_tilt": { "fields": {}, "target": { "entity": [ { "domain": [ "cover" ], "supported_features": [ 16 ] } ] } }, "close_cover_tilt": { "fields": {}, "target": { "entity": [ { "domain": [ "cover" ], "supported_features": [ 32 ] } ] } }, "stop_cover_tilt": { "fields": {}, "target": { "entity": [ { "domain": [ "cover" ], "supported_features": [ 64 ] } ] } }, "set_cover_tilt_position": { "fields": { "tilt_position": { "required": true, "selector": { "number": { "min": 0.0, "max": 100.0, "unit_of_measurement": "%", "step": 1.0, "mode": "slider" } } } }, "target": { "entity": [ { "domain": [ "cover" ], "supported_features": [ 128 ] } ] } }, "toggle_cover_tilt": { "fields": {}, "target": { "entity": [ { "domain": [ "cover" ], "supported_features": [ 48 ] } ] } } }, "fan": { "turn_on": { "fields": { "percentage": { "filter": { "supported_features": [ 1 ] }, "selector": { "number": { "min": 0.0, "max": 100.0, "unit_of_measurement": "%", "step": 1.0, "mode": "slider" } } }, "preset_mode": { "example": "auto", "filter": { "supported_features": [ 8 ] }, "selector": { "text": { "multiline": false, "multiple": false } } } }, "target": { "entity": [ { "domain": [ "fan" ], "supported_features": [ 32 ] } ] } }, "turn_off": { "fields": {}, "target": { "entity": [ { "domain": [ "fan" ], "supported_features": [ 16 ] } ] } }, "toggle": { "fields": {}, "target": { "entity": [ { "domain": [ "fan" ] } ] } }, "increase_speed": { "fields": { "percentage_step": { "advanced": true, "required": false, "selector": { "number": { "min": 0.0, "max": 100.0, "unit_of_measurement": "%", "step": 1.0, "mode": "slider" } } } }, "target": { "entity": [ { "domain": [ "fan" ], "supported_features": [ 1 ] } ] } }, "decrease_speed": { "fields": { "percentage_step": { "advanced": true, "required": false, "selector": { "number": { "min": 0.0, "max": 100.0, "unit_of_measurement": "%", "step": 1.0, "mode": "slider" } } } }, "target": { "entity": [ { "domain": [ "fan" ], "supported_features": [ 1 ] } ] } }, "oscillate": { "fields": { "oscillating": { "required": true, "selector": { "boolean": {} } } }, "target": { "entity": [ { "domain": [ "fan" ], "supported_features": [ 2 ] } ] } }, "set_direction": { "fields": { "direction": { "required": true, "selector": { "select": { "options": [ "forward", "reverse" ], "translation_key": "direction", "multiple": false, "sort": false, "custom_value": false } } } }, "target": { "entity": [ { "domain": [ "fan" ], "supported_features": [ 4 ] } ] } }, "set_percentage": { "fields": { "percentage": { "required": true, "selector": { "number": { "min": 0.0, "max": 100.0, "unit_of_measurement": "%", "step": 1.0, "mode": "slider" } } } }, "target": { "entity": [ { "domain": [ "fan" ], "supported_features": [ 1 ] } ] } }, "set_preset_mode": { "fields": { "preset_mode": { "required": true, "example": "auto", "selector": { "text": { "multiline": false, "multiple": false } } } }, "target": { "entity": [ { "domain": [ "fan" ], "supported_features": [ 8 ] } ] } } }, "light": { "turn_on": { "fields": { "transition": { "filter": { "supported_features": [ 32 ] }, "selector": { "number": { "min": 0.0, "max": 300.0, "unit_of_measurement": "seconds", "step": 1.0, "mode": "slider" } } }, "rgb_color": { "filter": { "attribute": { "supported_color_modes": [ "hs", "xy", "rgb", "rgbw", "rgbww" ] } }, "example": "[255, 100, 100]", "selector": { "color_rgb": {} } }, "color_temp_kelvin": { "filter": { "attribute": { "supported_color_modes": [ "color_temp", "hs", "xy", "rgb", "rgbw", "rgbww" ] } }, "selector": { "color_temp": { "unit": "kelvin", "min": 2000, "max": 6500 } } }, "brightness_pct": { "filter": { "attribute": { "supported_color_modes": [ "brightness", "color_temp", "hs", "xy", "rgb", "rgbw", "rgbww" ] } }, "selector": { "number": { "min": 0.0, "max": 100.0, "unit_of_measurement": "%", "step": 1.0, "mode": "slider" } } }, "brightness_step_pct": { "filter": { "attribute": { "supported_color_modes": [ "brightness", "color_temp", "hs", "xy", "rgb", "rgbw", "rgbww" ] } }, "selector": { "number": { "min": -100.0, "max": 100.0, "unit_of_measurement": "%", "step": 1.0, "mode": "slider" } } }, "effect": { "filter": { "supported_features": [ 4 ] }, "selector": { "text": { "multiline": false, "multiple": false } } }, "advanced_fields": { "collapsed": true, "fields": { "rgbw_color": { "filter": { "attribute": { "supported_color_modes": [ "hs", "xy", "rgb", "rgbw", "rgbww" ] } }, "example": "[255, 100, 100, 50]", "selector": { "object": { "multiple": false } } }, "rgbww_color": { "filter": { "attribute": { "supported_color_modes": [ "hs", "xy", "rgb", "rgbw", "rgbww" ] } }, "example": "[255, 100, 100, 50, 70]", "selector": { "object": { "multiple": false } } }, "color_name": { "filter": { "attribute": { "supported_color_modes": [ "hs", "xy", "rgb", "rgbw", "rgbww" ] } }, "selector": { "select": { "translation_key": "color_name", "options": [ "homeassistant", "aliceblue", "antiquewhite", "aqua", "aquamarine", "azure", "beige", "bisque", "blanchedalmond", "blue", "blueviolet", "brown", "burlywood", "cadetblue", "chartreuse", "chocolate", "coral", "cornflowerblue", "cornsilk", "crimson", "cyan", "darkblue", "darkcyan", "darkgoldenrod", "darkgray", "darkgreen", "darkgrey", "darkkhaki", "darkmagenta", "darkolivegreen", "darkorange", "darkorchid", "darkred", "darksalmon", "darkseagreen", "darkslateblue", "darkslategray", "darkslategrey", "darkturquoise", "darkviolet", "deeppink", "deepskyblue", "dimgray", "dimgrey", "dodgerblue", "firebrick", "floralwhite", "forestgreen", "fuchsia", "gainsboro", "ghostwhite", "gold", "goldenrod", "gray", "green", "greenyellow", "grey", "honeydew", "hotpink", "indianred", "indigo", "ivory", "khaki", "lavender", "lavenderblush", "lawngreen", "lemonchiffon", "lightblue", "lightcoral", "lightcyan", "lightgoldenrodyellow", "lightgray", "lightgreen", "lightgrey", "lightpink", "lightsalmon", "lightseagreen", "lightskyblue", "lightslategray", "lightslategrey", "lightsteelblue", "lightyellow", "lime", "limegreen", "linen", "magenta", "maroon", "mediumaquamarine", "mediumblue", "mediumorchid", "mediumpurple", "mediumseagreen", "mediumslateblue", "mediumspringgreen", "mediumturquoise", "mediumvioletred", "midnightblue", "mintcream", "mistyrose", "moccasin", "navajowhite", "navy", "navyblue", "oldlace", "olive", "olivedrab", "orange", "orangered", "orchid", "palegoldenrod", "palegreen", "paleturquoise", "palevioletred", "papayawhip", "peachpuff", "peru", "pink", "plum", "powderblue", "purple", "red", "rosybrown", "royalblue", "saddlebrown", "salmon", "sandybrown", "seagreen", "seashell", "sienna", "silver", "skyblue", "slateblue", "slategray", "slategrey", "snow", "springgreen", "steelblue", "tan", "teal", "thistle", "tomato", "turquoise", "violet", "wheat", "white", "whitesmoke", "yellow", "yellowgreen" ], "multiple": false, "sort": false, "custom_value": false } } }, "hs_color": { "filter": { "attribute": { "supported_color_modes": [ "hs", "xy", "rgb", "rgbw", "rgbww" ] } }, "example": "[300, 70]", "selector": { "object": { "multiple": false } } }, "xy_color": { "filter": { "attribute": { "supported_color_modes": [ "hs", "xy", "rgb", "rgbw", "rgbww" ] } }, "example": "[0.52, 0.43]", "selector": { "object": { "multiple": false } } }, "color_temp": { "filter": { "attribute": { "supported_color_modes": [ "color_temp", "hs", "xy", "rgb", "rgbw", "rgbww" ] } }, "selector": { "color_temp": { "unit": "mired", "min": 153, "max": 500 } } }, "brightness": { "filter": { "attribute": { "supported_color_modes": [ "brightness", "color_temp", "hs", "xy", "rgb", "rgbw", "rgbww" ] } }, "selector": { "number": { "min": 0.0, "max": 255.0, "step": 1.0, "mode": "slider" } } }, "brightness_step": { "filter": { "attribute": { "supported_color_modes": [ "brightness", "color_temp", "hs", "xy", "rgb", "rgbw", "rgbww" ] } }, "selector": { "number": { "min": -225.0, "max": 255.0, "step": 1.0, "mode": "slider" } } }, "white": { "filter": { "attribute": { "supported_color_modes": [ "white" ] } }, "selector": { "constant": { "value": true, "label": "Enabled" } } }, "profile": { "example": "relax", "selector": { "text": { "multiline": false, "multiple": false } } }, "flash": { "filter": { "supported_features": [ 8 ] }, "selector": { "select": { "translation_key": "flash", "options": [ "long", "short" ], "multiple": false, "sort": false, "custom_value": false } } } } } }, "target": { "entity": [ { "domain": [ "light" ] } ] } }, "turn_off": { "fields": { "transition": { "filter": { "supported_features": [ 32 ] }, "selector": { "number": { "min": 0.0, "max": 300.0, "unit_of_measurement": "seconds", "step": 1.0, "mode": "slider" } } }, "advanced_fields": { "collapsed": true, "fields": { "flash": { "filter": { "supported_features": [ 8 ] }, "selector": { "select": { "translation_key": "flash", "options": [ "long", "short" ], "multiple": false, "sort": false, "custom_value": false } } } } } }, "target": { "entity": [ { "domain": [ "light" ] } ] } }, "toggle": { "fields": { "transition": { "filter": { "supported_features": [ 32 ] }, "selector": { "number": { "min": 0.0, "max": 300.0, "unit_of_measurement": "seconds", "step": 1.0, "mode": "slider" } } }, "rgb_color": { "filter": { "attribute": { "supported_color_modes": [ "hs", "xy", "rgb", "rgbw", "rgbww" ] } }, "example": "[255, 100, 100]", "selector": { "color_rgb": {} } }, "color_temp_kelvin": { "filter": { "attribute": { "supported_color_modes": [ "color_temp", "hs", "xy", "rgb", "rgbw", "rgbww" ] } }, "selector": { "color_temp": { "unit": "kelvin", "min": 2000, "max": 6500 } } }, "brightness_pct": { "filter": { "attribute": { "supported_color_modes": [ "brightness", "color_temp", "hs", "xy", "rgb", "rgbw", "rgbww" ] } }, "selector": { "number": { "min": 0.0, "max": 100.0, "unit_of_measurement": "%", "step": 1.0, "mode": "slider" } } }, "effect": { "filter": { "supported_features": [ 4 ] }, "selector": { "text": { "multiline": false, "multiple": false } } }, "advanced_fields": { "collapsed": true, "fields": { "rgbw_color": { "filter": { "attribute": { "supported_color_modes": [ "hs", "xy", "rgb", "rgbw", "rgbww" ] } }, "example": "[255, 100, 100, 50]", "selector": { "object": { "multiple": false } } }, "rgbww_color": { "filter": { "attribute": { "supported_color_modes": [ "hs", "xy", "rgb", "rgbw", "rgbww" ] } }, "example": "[255, 100, 100, 50, 70]", "selector": { "object": { "multiple": false } } }, "color_name": { "filter": { "attribute": { "supported_color_modes": [ "hs", "xy", "rgb", "rgbw", "rgbww" ] } }, "selector": { "select": { "translation_key": "color_name", "options": [ "homeassistant", "aliceblue", "antiquewhite", "aqua", "aquamarine", "azure", "beige", "bisque", "blanchedalmond", "blue", "blueviolet", "brown", "burlywood", "cadetblue", "chartreuse", "chocolate", "coral", "cornflowerblue", "cornsilk", "crimson", "cyan", "darkblue", "darkcyan", "darkgoldenrod", "darkgray", "darkgreen", "darkgrey", "darkkhaki", "darkmagenta", "darkolivegreen", "darkorange", "darkorchid", "darkred", "darksalmon", "darkseagreen", "darkslateblue", "darkslategray", "darkslategrey", "darkturquoise", "darkviolet", "deeppink", "deepskyblue", "dimgray", "dimgrey", "dodgerblue", "firebrick", "floralwhite", "forestgreen", "fuchsia", "gainsboro", "ghostwhite", "gold", "goldenrod", "gray", "green", "greenyellow", "grey", "honeydew", "hotpink", "indianred", "indigo", "ivory", "khaki", "lavender", "lavenderblush", "lawngreen", "lemonchiffon", "lightblue", "lightcoral", "lightcyan", "lightgoldenrodyellow", "lightgray", "lightgreen", "lightgrey", "lightpink", "lightsalmon", "lightseagreen", "lightskyblue", "lightslategray", "lightslategrey", "lightsteelblue", "lightyellow", "lime", "limegreen", "linen", "magenta", "maroon", "mediumaquamarine", "mediumblue", "mediumorchid", "mediumpurple", "mediumseagreen", "mediumslateblue", "mediumspringgreen", "mediumturquoise", "mediumvioletred", "midnightblue", "mintcream", "mistyrose", "moccasin", "navajowhite", "navy", "navyblue", "oldlace", "olive", "olivedrab", "orange", "orangered", "orchid", "palegoldenrod", "palegreen", "paleturquoise", "palevioletred", "papayawhip", "peachpuff", "peru", "pink", "plum", "powderblue", "purple", "red", "rosybrown", "royalblue", "saddlebrown", "salmon", "sandybrown", "seagreen", "seashell", "sienna", "silver", "skyblue", "slateblue", "slategray", "slategrey", "snow", "springgreen", "steelblue", "tan", "teal", "thistle", "tomato", "turquoise", "violet", "wheat", "white", "whitesmoke", "yellow", "yellowgreen" ], "multiple": false, "sort": false, "custom_value": false } } }, "hs_color": { "filter": { "attribute": { "supported_color_modes": [ "hs", "xy", "rgb", "rgbw", "rgbww" ] } }, "example": "[300, 70]", "selector": { "object": { "multiple": false } } }, "xy_color": { "filter": { "attribute": { "supported_color_modes": [ "hs", "xy", "rgb", "rgbw", "rgbww" ] } }, "example": "[0.52, 0.43]", "selector": { "object": { "multiple": false } } }, "color_temp": { "filter": { "attribute": { "supported_color_modes": [ "color_temp", "hs", "xy", "rgb", "rgbw", "rgbww" ] } }, "selector": { "color_temp": { "unit": "mired", "min": 153, "max": 500 } } }, "brightness": { "filter": { "attribute": { "supported_color_modes": [ "brightness", "color_temp", "hs", "xy", "rgb", "rgbw", "rgbww" ] } }, "selector": { "number": { "min": 0.0, "max": 255.0, "step": 1.0, "mode": "slider" } } }, "white": { "filter": { "attribute": { "supported_color_modes": [ "white" ] } }, "selector": { "constant": { "value": true, "label": "Enabled" } } }, "profile": { "example": "relax", "selector": { "text": { "multiline": false, "multiple": false } } }, "flash": { "filter": { "supported_features": [ 8 ] }, "selector": { "select": { "translation_key": "flash", "options": [ "long", "short" ], "multiple": false, "sort": false, "custom_value": false } } } } } }, "target": { "entity": [ { "domain": [ "light" ] } ] } } }, "media_player": { "turn_on": { "fields": {}, "target": { "entity": [ { "domain": [ "media_player" ], "supported_features": [ 128 ] } ] } }, "turn_off": { "fields": {}, "target": { "entity": [ { "domain": [ "media_player" ], "supported_features": [ 256 ] } ] } }, "toggle": { "fields": {}, "target": { "entity": [ { "domain": [ "media_player" ], "supported_features": [ 384 ] } ] } }, "volume_up": { "fields": {}, "target": { "entity": [ { "domain": [ "media_player" ], "supported_features": [ 4, 1024 ] } ] } }, "volume_down": { "fields": {}, "target": { "entity": [ { "domain": [ "media_player" ], "supported_features": [ 4, 1024 ] } ] } }, "media_play_pause": { "fields": {}, "target": { "entity": [ { "domain": [ "media_player" ], "supported_features": [ 16385 ] } ] } }, "media_play": { "fields": {}, "target": { "entity": [ { "domain": [ "media_player" ], "supported_features": [ 16384 ] } ] } }, "media_pause": { "fields": {}, "target": { "entity": [ { "domain": [ "media_player" ], "supported_features": [ 1 ] } ] } }, "media_stop": { "fields": {}, "target": { "entity": [ { "domain": [ "media_player" ], "supported_features": [ 4096 ] } ] } }, "media_next_track": { "fields": {}, "target": { "entity": [ { "domain": [ "media_player" ], "supported_features": [ 32 ] } ] } }, "media_previous_track": { "fields": {}, "target": { "entity": [ { "domain": [ "media_player" ], "supported_features": [ 16 ] } ] } }, "clear_playlist": { "fields": {}, "target": { "entity": [ { "domain": [ "media_player" ], "supported_features": [ 8192 ] } ] } }, "volume_set": { "fields": { "volume_level": { "required": true, "selector": { "number": { "min": 0.0, "max": 1.0, "step": 0.01, "mode": "slider" } } } }, "target": { "entity": [ { "domain": [ "media_player" ], "supported_features": [ 4 ] } ] } }, "volume_mute": { "fields": { "is_volume_muted": { "required": true, "selector": { "boolean": {} } } }, "target": { "entity": [ { "domain": [ "media_player" ], "supported_features": [ 8 ] } ] } }, "media_seek": { "fields": { "seek_position": { "required": true, "selector": { "number": { "min": 0.0, "max": 9.223372036854776e18, "step": 0.01, "mode": "box" } } } }, "target": { "entity": [ { "domain": [ "media_player" ], "supported_features": [ 2 ] } ] } }, "join": { "fields": { "group_members": { "required": true, "example": "- media_player.multiroom_player2\n- media_player.multiroom_player3\n", "selector": { "entity": { "multiple": true, "domain": [ "media_player" ], "reorder": false } } } }, "target": { "entity": [ { "domain": [ "media_player" ], "supported_features": [ 524288 ] } ] } }, "select_source": { "fields": { "source": { "required": true, "example": "video1", "selector": { "text": { "multiline": false, "multiple": false } } } }, "target": { "entity": [ { "domain": [ "media_player" ], "supported_features": [ 2048 ] } ] } }, "select_sound_mode": { "fields": { "sound_mode": { "example": "Music", "selector": { "text": { "multiline": false, "multiple": false } } } }, "target": { "entity": [ { "domain": [ "media_player" ], "supported_features": [ 65536 ] } ] } }, "play_media": { "fields": { "media": { "required": true, "selector": { "media": { "multiple": false } }, "example": "{\u0022media_content_id\u0022: \u0022https://home-assistant.io/images/cast/splash.png\u0022, \u0022media_content_type\u0022: \u0022music\u0022}" }, "enqueue": { "filter": { "supported_features": [ 2097152 ] }, "required": false, "selector": { "select": { "options": [ "play", "next", "add", "replace" ], "translation_key": "enqueue", "multiple": false, "sort": false, "custom_value": false } } }, "announce": { "filter": { "supported_features": [ 1048576 ] }, "required": false, "example": "true", "selector": { "boolean": {} } } }, "target": { "entity": [ { "domain": [ "media_player" ], "supported_features": [ 512 ] } ] } }, "browse_media": { "fields": { "media_content_type": { "required": false, "example": "music", "selector": { "text": { "multiline": false, "multiple": false } } }, "media_content_id": { "required": false, "example": "A:ALBUMARTIST/Beatles", "selector": { "text": { "multiline": false, "multiple": false } } } }, "target": { "entity": [ { "domain": [ "media_player" ], "supported_features": [ 131072 ] } ] }, "response": { "optional": false } }, "search_media": { "fields": { "search_query": { "required": true, "example": "Beatles", "selector": { "text": { "multiline": false, "multiple": false } } }, "media_content_type": { "required": false, "example": "music", "selector": { "text": { "multiline": false, "multiple": false } } }, "media_content_id": { "required": false, "example": "A:ALBUMARTIST/Beatles", "selector": { "text": { "multiline": false, "multiple": false } } }, "media_filter_classes": { "required": false, "example": [ "album", "artist" ], "selector": { "text": { "multiple": true, "multiline": false } } } }, "target": { "entity": [ { "domain": [ "media_player" ], "supported_features": [ 4194304 ] } ] }, "response": { "optional": false } }, "shuffle_set": { "fields": { "shuffle": { "required": true, "selector": { "boolean": {} } } }, "target": { "entity": [ { "domain": [ "media_player" ], "supported_features": [ 32768 ] } ] } }, "unjoin": { "fields": {}, "target": { "entity": [ { "domain": [ "media_player" ], "supported_features": [ 524288 ] } ] } }, "repeat_set": { "fields": { "repeat": { "required": true, "selector": { "select": { "options": [ "off", "all", "one" ], "translation_key": "repeat", "multiple": false, "sort": false, "custom_value": false } } } }, "target": { "entity": [ { "domain": [ "media_player" ], "supported_features": [ 262144 ] } ] } } }, "remote": { "turn_off": { "fields": {}, "target": { "entity": [ { "domain": [ "remote" ] } ] } }, "turn_on": { "fields": { "activity": { "example": "BedroomTV", "filter": { "supported_features": [ 4 ] }, "selector": { "text": { "multiline": false, "multiple": false } } } }, "target": { "entity": [ { "domain": [ "remote" ] } ] } }, "toggle": { "fields": {}, "target": { "entity": [ { "domain": [ "remote" ] } ] } }, "send_command": { "fields": { "device": { "example": "32756745", "selector": { "text": { "multiline": false, "multiple": false } } }, "command": { "required": true, "example": "Play", "selector": { "object": { "multiple": false } } }, "num_repeats": { "default": 1, "selector": { "number": { "min": 0.0, "max": 255.0, "step": 1.0, "mode": "slider" } } }, "delay_secs": { "default": 0.4, "selector": { "number": { "min": 0.0, "max": 60.0, "step": 0.1, "unit_of_measurement": "seconds", "mode": "slider" } } }, "hold_secs": { "default": 0, "selector": { "number": { "min": 0.0, "max": 60.0, "step": 0.1, "unit_of_measurement": "seconds", "mode": "slider" } } } }, "target": { "entity": [ { "domain": [ "remote" ] } ] } }, "learn_command": { "fields": { "device": { "example": "television", "selector": { "text": { "multiline": false, "multiple": false } } }, "command": { "example": "Turn on", "selector": { "object": { "multiple": false } } }, "command_type": { "default": "ir", "selector": { "select": { "options": [ "ir", "rf" ], "multiple": false, "sort": false, "custom_value": false } } }, "alternative": { "selector": { "boolean": {} } }, "timeout": { "selector": { "number": { "min": 0.0, "max": 60.0, "step": 5.0, "unit_of_measurement": "seconds", "mode": "slider" } } } }, "target": { "entity": [ { "domain": [ "remote" ] } ] } }, "delete_command": { "fields": { "device": { "example": "television", "selector": { "text": { "multiline": false, "multiple": false } } }, "command": { "required": true, "example": "Mute", "selector": { "object": { "multiple": false } } } }, "target": { "entity": [ { "domain": [ "remote" ] } ] } } }, "nordpool": { "get_prices_for_date": { "fields": { "config_entry": { "required": true, "selector": { "config_entry": { "integration": "nordpool" } } }, "date": { "required": true, "selector": { "date": {} } }, "areas": { "selector": { "select": { "options": [ "EE", "LT", "LV", "AT", "BE", "FR", "GER", "NL", "PL", "DK1", "DK2", "FI", "NO1", "NO2", "NO3", "NO4", "NO5", "SE1", "SE2", "SE3", "SE4", "SYS" ], "mode": "dropdown", "multiple": false, "sort": false, "custom_value": false } } }, "currency": { "selector": { "select": { "options": [ "DKK", "EUR", "NOK", "PLN", "SEK" ], "mode": "dropdown", "multiple": false, "sort": false, "custom_value": false } } } }, "response": { "optional": false } }, "get_price_indices_for_date": { "fields": { "config_entry": { "required": true, "selector": { "config_entry": { "integration": "nordpool" } } }, "date": { "required": true, "selector": { "date": {} } }, "areas": { "selector": { "select": { "options": [ "EE", "LT", "LV", "AT", "BE", "FR", "GER", "NL", "PL", "DK1", "DK2", "FI", "NO1", "NO2", "NO3", "NO4", "NO5", "SE1", "SE2", "SE3", "SE4", "SYS" ], "mode": "dropdown", "multiple": false, "sort": false, "custom_value": false } } }, "currency": { "selector": { "select": { "options": [ "DKK", "EUR", "NOK", "PLN", "SEK" ], "mode": "dropdown", "multiple": false, "sort": false, "custom_value": false } } }, "resolution": { "selector": { "select": { "options": [ "15", "30", "60" ], "mode": "dropdown", "multiple": false, "sort": false, "custom_value": false } } } }, "response": { "optional": false } } }, "counter": { "increment": { "fields": {}, "target": { "entity": [ { "domain": [ "counter" ] } ] } }, "decrement": { "fields": {}, "target": { "entity": [ { "domain": [ "counter" ] } ] } }, "reset": { "fields": {}, "target": { "entity": [ { "domain": [ "counter" ] } ] } }, "set_value": { "fields": { "value": { "required": true, "selector": { "number": { "min": 0.0, "max": 9.223372036854776e18, "mode": "box", "step": 1.0 } } } }, "target": { "entity": [ { "domain": [ "counter" ] } ] } } }, "template": { "reload": { "fields": {} } }, "notify": { "send_message": { "fields": { "message": { "required": true, "selector": { "text": { "multiline": false, "multiple": false } } }, "title": { "required": false, "selector": { "text": { "multiline": false, "multiple": false } }, "filter": { "supported_features": [ 1 ] } } }, "target": { "entity": [ { "domain": [ "notify" ] } ] } }, "persistent_notification": { "fields": { "message": { "required": true, "example": "The garage door has been open for 10 minutes.", "selector": { "text": { "multiline": false, "multiple": false } } }, "title": { "example": "Your Garage Door Friend", "selector": { "text": { "multiline": false, "multiple": false } } }, "data": { "example": "platform specific", "selector": { "object": { "multiple": false } } } } }, "mobile_app_marius_phone": { "name": "Send a notification via mobile_app_marius_phone", "description": "Sends a notification message using the mobile_app_marius_phone integration.", "fields": { "message": { "required": true, "example": "The garage door has been open for 10 minutes.", "selector": { "text": null } }, "title": { "example": "Your Garage Door Friend", "selector": { "text": null } }, "target": { "example": "platform specific", "selector": { "object": null } }, "data": { "example": "platform specific", "selector": { "object": null } } } }, "mobile_app_erika_s_iphone": { "name": "Send a notification via mobile_app_erika_s_iphone", "description": "Sends a notification message using the mobile_app_erika_s_iphone integration.", "fields": { "message": { "required": true, "example": "The garage door has been open for 10 minutes.", "selector": { "text": null } }, "title": { "example": "Your Garage Door Friend", "selector": { "text": null } }, "target": { "example": "platform specific", "selector": { "object": null } }, "data": { "example": "platform specific", "selector": { "object": null } } } }, "mobile_app_marius_watch": { "name": "Send a notification via mobile_app_marius_watch", "description": "Sends a notification message using the mobile_app_marius_watch integration.", "fields": { "message": { "required": true, "example": "The garage door has been open for 10 minutes.", "selector": { "text": null } }, "title": { "example": "Your Garage Door Friend", "selector": { "text": null } }, "target": { "example": "platform specific", "selector": { "object": null } }, "data": { "example": "platform specific", "selector": { "object": null } } } }, "mobile_app_home_phone": { "name": "Send a notification via mobile_app_home_phone", "description": "Sends a notification message using the mobile_app_home_phone integration.", "fields": { "message": { "required": true, "example": "The garage door has been open for 10 minutes.", "selector": { "text": null } }, "title": { "example": "Your Garage Door Friend", "selector": { "text": null } }, "target": { "example": "platform specific", "selector": { "object": null } }, "data": { "example": "platform specific", "selector": { "object": null } } } }, "notify": { "name": "Send a notification with notify", "description": "Sends a notification message using the notify service.", "fields": { "message": { "required": true, "example": "The garage door has been open for 10 minutes.", "selector": { "text": null } }, "title": { "example": "Your Garage Door Friend", "selector": { "text": null } }, "target": { "example": "platform specific", "selector": { "object": null } }, "data": { "example": "platform specific", "selector": { "object": null } } } } }, "device_tracker": { "see": { "fields": { "mac": { "example": "FF:FF:FF:FF:FF:FF", "selector": { "text": { "multiline": false, "multiple": false } } }, "dev_id": { "example": "phonedave", "selector": { "text": { "multiline": false, "multiple": false } } }, "host_name": { "example": "Dave", "selector": { "text": { "multiline": false, "multiple": false } } }, "location_name": { "example": "home", "selector": { "text": { "multiline": false, "multiple": false } } }, "gps": { "example": "[51.509802, -0.086692]", "selector": { "object": { "multiple": false } } }, "gps_accuracy": { "selector": { "number": { "min": 0.0, "mode": "box", "unit_of_measurement": "m", "step": 1.0 } } }, "battery": { "selector": { "number": { "min": 0.0, "max": 100.0, "unit_of_measurement": "%", "step": 1.0, "mode": "slider" } } } } } }, "humidifier": { "turn_on": { "fields": {}, "target": { "entity": [ { "domain": [ "humidifier" ] } ] } }, "turn_off": { "fields": {}, "target": { "entity": [ { "domain": [ "humidifier" ] } ] } }, "toggle": { "fields": {}, "target": { "entity": [ { "domain": [ "humidifier" ] } ] } }, "set_mode": { "fields": { "mode": { "required": true, "example": "away", "selector": { "text": { "multiline": false, "multiple": false } } } }, "target": { "entity": [ { "domain": [ "humidifier" ], "supported_features": [ 1 ] } ] } }, "set_humidity": { "fields": { "humidity": { "required": true, "selector": { "number": { "min": 0.0, "max": 100.0, "unit_of_measurement": "%", "step": 1.0, "mode": "slider" } } } }, "target": { "entity": [ { "domain": [ "humidifier" ] } ] } } }, "weather": { "get_forecasts": { "fields": { "type": { "required": true, "selector": { "select": { "options": [ "daily", "hourly", "twice_daily" ], "translation_key": "forecast_type", "multiple": false, "sort": false, "custom_value": false } } } }, "target": { "entity": [ { "domain": [ "weather" ], "supported_features": [ 1, 2, 4 ] } ] }, "response": { "optional": false } } }, "siren": { "turn_on": { "fields": { "tone": { "example": "fire", "filter": { "supported_features": [ 4 ] }, "required": false, "selector": { "text": { "multiline": false, "multiple": false } } }, "volume_level": { "example": 0.5, "filter": { "supported_features": [ 8 ] }, "required": false, "selector": { "number": { "min": 0.0, "max": 1.0, "step": 0.05, "mode": "slider" } } }, "duration": { "example": 15, "filter": { "supported_features": [ 16 ] }, "required": false, "selector": { "text": { "multiline": false, "multiple": false } } } }, "target": { "entity": [ { "domain": [ "siren" ], "supported_features": [ 1 ] } ] } }, "turn_off": { "fields": {}, "target": { "entity": [ { "domain": [ "siren" ], "supported_features": [ 2 ] } ] } }, "toggle": { "fields": {}, "target": { "entity": [ { "domain": [ "siren" ], "supported_features": [ 3 ] } ] } } }, "vacuum": { "start": { "fields": {}, "target": { "entity": [ { "domain": [ "vacuum" ], "supported_features": [ 8192 ] } ] } }, "pause": { "fields": {}, "target": { "entity": [ { "domain": [ "vacuum" ], "supported_features": [ 4 ] } ] } }, "return_to_base": { "fields": {}, "target": { "entity": [ { "domain": [ "vacuum" ], "supported_features": [ 16 ] } ] } }, "clean_spot": { "fields": {}, "target": { "entity": [ { "domain": [ "vacuum" ] } ] } }, "locate": { "fields": {}, "target": { "entity": [ { "domain": [ "vacuum" ], "supported_features": [ 512 ] } ] } }, "stop": { "fields": {}, "target": { "entity": [ { "domain": [ "vacuum" ], "supported_features": [ 8 ] } ] } }, "set_fan_speed": { "fields": { "fan_speed": { "required": true, "example": "low", "selector": { "text": { "multiline": false, "multiple": false } } } }, "target": { "entity": [ { "domain": [ "vacuum" ] } ] } }, "send_command": { "fields": { "command": { "required": true, "example": "set_dnd_timer", "selector": { "text": { "multiline": false, "multiple": false } } }, "params": { "example": "{ \u0022key\u0022: \u0022value\u0022 }", "selector": { "object": { "multiple": false } } } }, "target": { "entity": [ { "domain": [ "vacuum" ] } ] } } }, "valve": { "open_valve": { "fields": {}, "target": { "entity": [ { "domain": [ "valve" ], "supported_features": [ 1 ] } ] } }, "close_valve": { "fields": {}, "target": { "entity": [ { "domain": [ "valve" ], "supported_features": [ 2 ] } ] } }, "set_valve_position": { "fields": { "position": { "required": true, "selector": { "number": { "min": 0.0, "max": 100.0, "unit_of_measurement": "%", "step": 1.0, "mode": "slider" } } } }, "target": { "entity": [ { "domain": [ "valve" ], "supported_features": [ 4 ] } ] } }, "stop_valve": { "fields": {}, "target": { "entity": [ { "domain": [ "valve" ], "supported_features": [ 8 ] } ] } }, "toggle": { "fields": {}, "target": { "entity": [ { "domain": [ "valve" ], "supported_features": [ 3 ] } ] } } }, "repairs": { "ignore_all": { "name": "Ignore all issues \uD83D\uDC7B", "description": "Ignore all issues currently raised in Home Assistant Repairs.", "fields": {} }, "unignore_all": { "name": "Unignore all issues \uD83D\uDC7B", "description": "Unignore all issues currently raised in Home Assistant Repairs.", "fields": {} }, "remove": { "name": "Remove issue \uD83D\uDC7B", "description": "Removes a manually created Home Assistant repairs issue. This action can only remove issues created with the \u0060repairs_create\u0060 action.", "fields": { "issue_id": { "name": "Issue ID", "description": "The issue ID to remove.", "required": true, "selector": { "text": { "multiline": false, "multiple": false } } } } }, "create": { "name": "Create issue \uD83D\uDC7B", "description": "Manually create and raise a issue in Home Assistant repairs.", "fields": { "title": { "name": "Title", "description": "The title of the issue.", "required": true, "selector": { "text": { "multiline": false, "multiple": false } } }, "description": { "name": "Description", "description": "The description of the issue. Supports Markdown.", "required": true, "selector": { "text": { "multiline": true, "multiple": false } } }, "issue_id": { "name": "Issue ID", "description": "The issue can have an identifier, which allows you to cancel it later with that ID if needed. It also prevent duplicate issues to be created. If not provided, a random ID will be generated.", "required": false, "selector": { "text": { "multiline": false, "multiple": false } } }, "domain": { "name": "Domain", "description": "This field can be used to set the domain of the issue. For example, by default (if not set), it will use \u0022spook\u0022. This causes Spook to be shown in the logo/image of the issue. If you set it to \u0022homeassistant\u0022, the Home Assistant logo will be used, or use \u0022hue\u0022, \u0022zwave_js\u0022, \u0022mqtt\u0022, etc. to use the logo of that integration.", "required": false, "selector": { "text": { "multiline": false, "multiple": false } } }, "severity": { "name": "Severity", "description": "The severity of the issue. This will be used to determine the priority of the issue. If not set, \u0022warning\u0022 will be used", "required": false, "selector": { "select": { "options": [ { "label": "Warning", "value": "warning" }, { "label": "Error", "value": "error" }, { "label": "Critical", "value": "critical" } ], "multiple": false, "sort": false, "custom_value": false } } }, "persistent": { "name": "Persistent", "description": "If the issue should be persistent, which means it will survive restarts of Home Assistant. By default, issues are not persistent.", "required": false, "selector": { "boolean": {} } } } } }, "blueprint": { "import": { "name": "Import blueprint \uD83D\uDC7B", "description": "Import a blueprint.", "fields": { "url": { "name": "URL", "description": "The URL to import the blueprint from.", "required": true, "selector": { "text": { "multiline": false, "multiple": false } } } } } }, "spook": { "boo": { "fields": {}, "description": "Calling this action spooks Home Assistant. Performing this action will always fail.", "name": "Boo! \uD83D\uDC7B" }, "random_fail": { "fields": {}, "description": "Performing this action will randomly fail.", "name": "Random fail \uD83D\uDC7B" } }, "time": { "set_value": { "fields": { "time": { "required": true, "example": "22:15", "selector": { "time": {} } } }, "target": { "entity": [ { "domain": [ "time" ] } ] } } }, "automation": { "trigger": { "fields": { "skip_condition": { "default": true, "selector": { "boolean": {} } } }, "target": { "entity": [ { "domain": [ "automation" ] } ] } }, "toggle": { "fields": {}, "target": { "entity": [ { "domain": [ "automation" ] } ] } }, "turn_on": { "fields": {}, "target": { "entity": [ { "domain": [ "automation" ] } ] } }, "turn_off": { "fields": { "stop_actions": { "default": true, "selector": { "boolean": {} } } }, "target": { "entity": [ { "domain": [ "automation" ] } ] } }, "reload": { "fields": {} } }, "zha": { "permit": { "fields": { "duration": { "default": 60, "selector": { "number": { "min": 0.0, "max": 254.0, "unit_of_measurement": "seconds", "step": 1.0, "mode": "slider" } } }, "ieee": { "example": "00:0d:6f:00:05:7d:2d:34", "selector": { "text": { "multiline": false, "multiple": false } } }, "source_ieee": { "example": "00:0a:bf:00:01:10:23:35", "selector": { "text": { "multiline": false, "multiple": false } } }, "install_code": { "example": "1234-5678-1234-5678-AABB-CCDD-AABB-CCDD-EEFF", "selector": { "text": { "multiline": false, "multiple": false } } }, "qr_code": { "example": "Z:000D6FFFFED4163B$I:52797BF4A5084DAA8E1712B61741CA024051", "selector": { "text": { "multiline": false, "multiple": false } } } } }, "remove": { "fields": { "ieee": { "required": true, "example": "00:0d:6f:00:05:7d:2d:34", "selector": { "text": { "multiline": false, "multiple": false } } } } }, "set_zigbee_cluster_attribute": { "fields": { "ieee": { "required": true, "example": "00:0d:6f:00:05:7d:2d:34", "selector": { "text": { "multiline": false, "multiple": false } } }, "endpoint_id": { "required": true, "selector": { "number": { "min": 1.0, "max": 65535.0, "mode": "box", "step": 1.0 } } }, "cluster_id": { "required": true, "selector": { "number": { "min": 1.0, "max": 65535.0, "step": 1.0, "mode": "slider" } } }, "cluster_type": { "default": "in", "selector": { "select": { "options": [ "in", "out" ], "multiple": false, "sort": false, "custom_value": false } } }, "attribute": { "required": true, "example": 0, "selector": { "number": { "min": 1.0, "max": 65535.0, "step": 1.0, "mode": "slider" } } }, "value": { "required": true, "example": 1, "selector": { "text": { "multiline": false, "multiple": false } } }, "manufacturer": { "example": 252, "selector": { "text": { "multiline": false, "multiple": false } } } } }, "issue_zigbee_cluster_command": { "fields": { "ieee": { "required": true, "example": "00:0d:6f:00:05:7d:2d:34", "selector": { "text": { "multiline": false, "multiple": false } } }, "endpoint_id": { "required": true, "selector": { "number": { "min": 1.0, "max": 65535.0, "step": 1.0, "mode": "slider" } } }, "cluster_id": { "required": true, "selector": { "number": { "min": 1.0, "max": 65535.0, "step": 1.0, "mode": "slider" } } }, "cluster_type": { "default": "in", "selector": { "select": { "options": [ "in", "out" ], "multiple": false, "sort": false, "custom_value": false } } }, "command": { "required": true, "selector": { "number": { "min": 1.0, "max": 65535.0, "step": 1.0, "mode": "slider" } } }, "command_type": { "required": true, "selector": { "select": { "options": [ "client", "server" ], "multiple": false, "sort": false, "custom_value": false } } }, "args": { "example": "[arg1, arg2, argN]", "selector": { "object": { "multiple": false } } }, "params": { "selector": { "object": { "multiple": false } } }, "manufacturer": { "example": 252, "selector": { "text": { "multiline": false, "multiple": false } } } } }, "issue_zigbee_group_command": { "fields": { "group": { "required": true, "example": 546, "selector": { "text": { "multiline": false, "multiple": false } } }, "cluster_id": { "required": true, "selector": { "number": { "min": 1.0, "max": 65535.0, "step": 1.0, "mode": "slider" } } }, "cluster_type": { "default": "in", "selector": { "select": { "options": [ "in", "out" ], "multiple": false, "sort": false, "custom_value": false } } }, "command": { "required": true, "selector": { "number": { "min": 1.0, "max": 65535.0, "step": 1.0, "mode": "slider" } } }, "args": { "example": "[arg1, arg2, argN]", "selector": { "object": { "multiple": false } } }, "manufacturer": { "example": 252, "selector": { "text": { "multiline": false, "multiple": false } } } } }, "warning_device_squawk": { "fields": { "ieee": { "required": true, "example": "00:0d:6f:00:05:7d:2d:34", "selector": { "text": { "multiline": false, "multiple": false } } }, "mode": { "default": 0, "selector": { "number": { "min": 0.0, "max": 1.0, "mode": "box", "step": 1.0 } } }, "strobe": { "default": 1, "selector": { "number": { "min": 0.0, "max": 1.0, "mode": "box", "step": 1.0 } } }, "level": { "default": 2, "selector": { "number": { "min": 0.0, "max": 3.0, "mode": "box", "step": 1.0 } } } } }, "warning_device_warn": { "fields": { "ieee": { "required": true, "example": "00:0d:6f:00:05:7d:2d:34", "selector": { "text": { "multiline": false, "multiple": false } } }, "mode": { "default": 3, "selector": { "number": { "min": 0.0, "max": 6.0, "mode": "box", "step": 1.0 } } }, "strobe": { "default": 1, "selector": { "number": { "min": 0.0, "max": 1.0, "mode": "box", "step": 1.0 } } }, "level": { "default": 2, "selector": { "number": { "min": 0.0, "max": 3.0, "mode": "box", "step": 1.0 } } }, "duration": { "default": 5, "selector": { "number": { "min": 0.0, "max": 65535.0, "unit_of_measurement": "seconds", "step": 1.0, "mode": "slider" } } }, "duty_cycle": { "default": 0, "selector": { "number": { "min": 0.0, "max": 100.0, "step": 10.0, "mode": "slider" } } }, "intensity": { "default": 2, "selector": { "number": { "min": 0.0, "max": 3.0, "mode": "box", "step": 1.0 } } } } }, "set_lock_user_code": { "fields": { "code_slot": { "required": true, "example": 1, "selector": { "text": { "multiline": false, "multiple": false } } }, "user_code": { "required": true, "example": 1234, "selector": { "text": { "multiline": false, "multiple": false } } } }, "target": { "entity": [ { "domain": [ "lock" ], "integration": "zha" } ] } }, "enable_lock_user_code": { "fields": { "code_slot": { "required": true, "example": 1, "selector": { "text": { "multiline": false, "multiple": false } } } }, "target": { "entity": [ { "domain": [ "lock" ], "integration": "zha" } ] } }, "disable_lock_user_code": { "fields": { "code_slot": { "required": true, "example": 1, "selector": { "text": { "multiline": false, "multiple": false } } } }, "target": { "entity": [ { "domain": [ "lock" ], "integration": "zha" } ] } }, "clear_lock_user_code": { "fields": { "code_slot": { "required": true, "example": 1, "selector": { "text": { "multiline": false, "multiple": false } } } }, "target": { "entity": [ { "domain": [ "lock" ], "integration": "zha" } ] } } }, "lock": { "unlock": { "fields": { "code": { "example": 1234, "selector": { "text": { "multiline": false, "multiple": false } } } }, "target": { "entity": [ { "domain": [ "lock" ] } ] } }, "lock": { "fields": { "code": { "example": 1234, "selector": { "text": { "multiline": false, "multiple": false } } } }, "target": { "entity": [ { "domain": [ "lock" ] } ] } }, "open": { "fields": { "code": { "example": 1234, "selector": { "text": { "multiline": false, "multiple": false } } } }, "target": { "entity": [ { "domain": [ "lock" ], "supported_features": [ 1 ] } ] } } }, "zha_toolkit": { "execute": { "fields": { "command": { "name": "Command name", "description": "Command name", "example": "scan_device", "required": true, "selector": { "select": { "options": [ "add_group", "add_to_group", "all_routes_and_neighbours", "attr_read", "attr_write", "backup", "bind_group", "bind_ieee", "binds_get", "binds_remove_all", "conf_report", "conf_report_read", "ezsp_add_key", "ezsp_backup", "ezsp_clear_keys", "ezsp_get_config_value", "ezsp_get_ieee_by_nwk", "ezsp_get_keys", "ezsp_get_policy", "ezsp_get_token", "ezsp_get_value", "ezsp_set_channel", "ezsp_start_mfg", "get_groups", "get_routes_and_neighbours", "get_zll_groups", "handle_join", "ieee_ping", "leave", "misc_reinitialize", "misc_settime", "ota_notify", "rejoin", "remove_all_groups", "remove_from_group", "remove_group", "scan_device", "tuya_magic", "unbind_coordinator", "unbind_group", "zcl_cmd", "zdo_flood_parent_annce", "zdo_join_with_code", "zdo_scan_now", "zdo_update_nwk_id", "znp_backup", "znp_nvram_backup", "znp_nvram_reset", "znp_nvram_restore", "znp_restore" ], "multiple": false, "sort": false, "custom_value": false } } }, "ieee": { "name": "Device Reference", "description": "Entity name, device name, or IEEE address of the node to execute command", "example": "00:0d:6f:00:05:7d:2d:34", "selector": { "entity": { "integration": "zha", "multiple": false, "reorder": false } } }, "command_data": { "name": "Command data", "description": "data for the command (specific command. Example, second IEEE address for binding)", "example": "00:0d:6f:00:05:7d:2d:34", "selector": { "text": { "multiline": false, "multiple": false } } }, "manf": { "name": "Manufacturer Id", "description": "Manufacturer id (0 = No manufacturer id, empty=possibly automatic)", "selector": { "number": { "min": 1.0, "max": 65535.0, "mode": "box", "step": 1.0 } } }, "cmd": { "name": "Command Id", "description": "Command Id (zcl_cmd)", "selector": { "number": { "min": 0.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "endpoint": { "name": "Target Endpoint", "description": "target endpoint", "selector": { "number": { "min": 1.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "dst_endpoint": { "name": "Destination Endpoint", "description": "destination endpoint", "selector": { "number": { "min": 1.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "cluster": { "name": "Target Cluster", "description": "target cluster", "selector": { "number": { "min": 0.0, "max": 65535.0, "mode": "box", "step": 1.0 } } }, "attribute": { "name": "Attribute Id or Name", "description": "target attribute id (or name, accepted in most cases)", "selector": { "number": { "min": 0.0, "max": 65535.0, "mode": "box", "step": 1.0 } } }, "attr_type": { "name": "Attribute Type", "description": "Attribute type (to write, ...)", "selector": { "number": { "min": 0.0, "max": 65535.0, "mode": "box", "step": 1.0 } } }, "attr_val": { "name": "Attribute Value", "description": "Attribute value to write", "selector": { "text": { "multiline": false, "multiple": false } } }, "min_interval": { "name": "Minimum Report Interval", "description": "Minimum report interval (seconds)", "selector": { "number": { "min": 0.0, "max": 65535.0, "mode": "box", "step": 1.0 } } }, "max_interval": { "name": "Maximum Report Interval", "description": "Maximum report interval (seconds)", "selector": { "number": { "min": 0.0, "max": 65535.0, "mode": "box", "step": 1.0 } } }, "reportable_change": { "name": "Minimum Reportable Change", "description": "Minimum change before reporting", "selector": { "number": { "min": 0.0, "max": 65535.0, "mode": "box", "step": 1.0 } } }, "dir": { "name": "Direction", "description": "Direction indicator, according to command", "selector": { "number": { "min": 0.0, "max": 1.0, "mode": "box", "step": 1.0 } } }, "tries": { "name": "Tries", "description": "Number of times the zigbee packet should be attempted", "selector": { "number": { "min": 0.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "state_id": { "name": "State Id", "description": "When defined, name of state to write the read attribute value to", "example": "sensor.example", "selector": { "text": { "multiline": false, "multiple": false } } }, "state_attr": { "name": "State Attribute", "description": "When defined, attribute in state_id to write the read attribute value to. Write to state value when missing (and state_id is defined)", "example": "other_attr", "selector": { "text": { "multiline": false, "multiple": false } } }, "state_value_template": { "name": "State Value Template", "description": "When defined, the read attribute is converted using this template before writing it to the state.", "example": "value / 100", "selector": { "text": { "multiline": false, "multiple": false } } }, "force_update": { "name": "Force Update", "description": "Force an update event when the state is written When not set or false, if the state value is unchanged, the update may not trigger an automation.\n", "example": true, "selector": { "boolean": {} } }, "use_cache": { "name": "Use Cache", "description": "Use zigpy attribute cache to get the value of an attribute. (Does not send a zigbee packet to read the attribute). Can also be 0, 1 or 2, where 2 has a special meaning with attr_write where it falls back to an actual read when the value is not in cache.\n", "example": true, "selector": { "boolean": {} } }, "event_success": { "name": "Success Event Name", "description": "Event name in case of success", "example": "my_read_success_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_fail": { "name": "Fail Event Name", "description": "Event name in case of failure", "example": "my_read_fail_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_done": { "name": "Done Event Name", "description": "Event name when the service call did all its work (either success or failure). Has event data with relevant attributes.", "example": "my_read_done_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "fail_exception": { "name": "Exception When Failure", "description": "Throw exception when success==False, useful to stop scripts, automations", "selector": { "boolean": {} } }, "allow_create": { "name": "Allow Create", "description": "Allow state creation (given by state_id) if it does not exist", "selector": { "boolean": {} } }, "read_before_write": { "name": "Read Before Write", "description": "Read attribute before writing it (used with attr_write). When the read value matches the value to write, no write is done. Defaults to True.", "selector": { "boolean": {} } }, "read_after_write": { "name": "Read After Write", "description": "Read attribute after writing. Can be used to ensure the values match. Defaults to True", "selector": { "boolean": {} } }, "write_if_equal": { "name": "Write If Equal", "description": "Force writing the attribute even if the read attribute already matches. Defaults to False", "selector": { "boolean": {} } }, "expect_reply": { "name": "Expect Reply", "description": "Wait for/expect a reply (not used yet)", "selector": { "boolean": {} } }, "csvout": { "name": "CSV Filename", "description": "Filename of CSV to write read data to. Written to \u0027csv\u0027 directory", "example": "../web/mycsv.csv", "selector": { "text": { "multiline": false, "multiple": false } } }, "csvlabel": { "name": "CSV Label", "description": "Label to use for read value (in CSV file)", "example": "SecretAttributeName", "selector": { "text": { "multiline": false, "multiple": false } } } }, "description": "Execute ZHA Toolkit service (Examine the documentation or code to know which parameters are needed)", "name": "Execute any zha toolkit service", "response": { "optional": true } }, "add_group": { "fields": { "ieee": { "name": "Device Reference", "description": "Entity name, device name, or IEEE address of the node", "example": "00:0d:6f:00:05:7d:2d:34", "required": true, "selector": { "entity": { "integration": "zha", "multiple": false, "reorder": false } } }, "endpoint": { "name": "Target Endpoint", "description": "endpoint to get information for (all endpoints when not set)", "selector": { "number": { "min": 1.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "command_data": { "name": "Group Id", "description": "Group id to add", "example": 2, "required": true, "selector": { "number": { "min": 0.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "tries": { "name": "Tries", "description": "Number of times the zigbee packet should be attempted", "selector": { "number": { "min": 0.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "event_success": { "name": "Success Event Name", "description": "Event name in case of success", "example": "my_read_success_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_fail": { "name": "Fail Event Name", "description": "Event name in case of failure", "example": "my_read_fail_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_done": { "name": "Done Event Name", "description": "Event name when the service call did all its work (either success or failure). Has event data with relevant attributes.", "example": "my_read_done_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "fail_exception": { "name": "Exception When Failure", "description": "Throw exception when success==False, useful to stop scripts, automations", "selector": { "boolean": {} } } }, "description": "Add group to endpoint groups list of device. May be equivalent to \u0060add_to_group\u0060", "name": "Add Group", "response": { "optional": true } }, "add_to_group": { "fields": { "ieee": { "name": "Device Reference", "description": "Entity name, device name, or IEEE address of the node", "example": "00:0d:6f:00:05:7d:2d:34", "required": true, "selector": { "entity": { "integration": "zha", "multiple": false, "reorder": false } } }, "endpoint": { "name": "Target Endpoint", "description": "endpoint to remove group from (or all EP if not set)", "selector": { "number": { "min": 1.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "command_data": { "name": "Removed Group Id", "description": "Group id to remove", "example": 2, "required": true, "selector": { "number": { "min": 0.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "tries": { "name": "Tries", "description": "Number of times the zigbee packet should be attempted", "selector": { "number": { "min": 0.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "event_success": { "name": "Success Event Name", "description": "Event name in case of success", "example": "my_read_success_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_fail": { "name": "Fail Event Name", "description": "Event name in case of failure", "example": "my_read_fail_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_done": { "name": "Done Event Name", "description": "Event name when the service call did all its work (either success or failure). Has event data with relevant attributes.", "example": "my_read_done_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "fail_exception": { "name": "Exception When Failure", "description": "Throw exception when success==False, useful to stop scripts, automations", "selector": { "boolean": {} } } }, "description": "Add device to group", "name": "Add device to group", "response": { "optional": true } }, "all_routes_and_neighbours": { "fields": { "event_success": { "name": "Success Event Name", "description": "Event name in case of success", "example": "my_read_success_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_fail": { "name": "Fail Event Name", "description": "Event name in case of failure", "example": "my_read_fail_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_done": { "name": "Done Event Name", "description": "Event name when the service call did all its work (either success or failure). Has event data with relevant attributes.", "example": "my_read_done_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "fail_exception": { "name": "Exception When Failure", "description": "Throw exception when success==False, useful to stop scripts, automations", "selector": { "boolean": {} } }, "expect_reply": { "name": "Expect Reply", "description": "Wait for/expect a reply (not used yet)", "selector": { "boolean": {} } } }, "description": "Scan for all routes and neighbours, results saved to config/scans/...", "name": "Scan all Routes and Neighbours", "response": { "optional": true } }, "attr_read": { "fields": { "ieee": { "name": "Device Reference", "description": "Entity name, device name, or IEEE address of the node to execute command", "example": "00:0d:6f:00:05:7d:2d:34", "required": true, "selector": { "entity": { "integration": "zha", "multiple": false, "reorder": false } } }, "manf": { "name": "Manufacturer Id", "description": "Manufacturer id (0 = No manufacturer id, empty=possibly automatic)", "selector": { "number": { "min": 1.0, "max": 65535.0, "mode": "box", "step": 1.0 } } }, "endpoint": { "name": "Target Endpoint", "description": "target endpoint", "selector": { "number": { "min": 1.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "cluster": { "name": "Target Cluster", "description": "target cluster", "required": true, "selector": { "number": { "min": 0.0, "max": 65535.0, "mode": "box", "step": 1.0 } } }, "attribute": { "name": "Attribute Id or Name", "description": "target attribute id (or name, accepted in most cases)", "required": true, "selector": { "number": { "min": 0.0, "max": 65535.0, "mode": "box", "step": 1.0 } } }, "tries": { "name": "Tries", "description": "Number of times the zigbee packet should be attempted", "selector": { "number": { "min": 0.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "state_id": { "name": "State Id", "description": "When defined, name of state to write the read attribute value to", "example": "sensor.example", "selector": { "text": { "multiline": false, "multiple": false } } }, "state_attr": { "name": "State Attribute", "description": "When defined, attribute in state_id to write the read attribute value to. Write to state value when missing (and state_id is defined)", "example": "other_attr", "selector": { "text": { "multiline": false, "multiple": false } } }, "state_value_template": { "name": "State Value Template", "description": "When defined, the read attribute is converted using this template before writing it to the state.", "example": "value / 100", "selector": { "text": { "multiline": false, "multiple": false } } }, "force_update": { "name": "Force Update", "description": "Force an update event when the state is written When not set or false, if the state value is unchanged, the update may not trigger an automation.\n", "example": true, "selector": { "boolean": {} } }, "use_cache": { "name": "Use Cache", "description": "Use zigpy attribute cache to get the value of an attribute. (Does not send a zigbee packet to read the attribute). Can also be 0, 1 or 2, where 2 has a special meaning where it falls back to an actual read when the value is not in cache.\n", "example": true, "selector": { "boolean": {} } }, "event_success": { "name": "Success Event Name", "description": "Event name in case of success", "example": "my_read_success_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_fail": { "name": "Fail Event Name", "description": "Event name in case of failure", "example": "my_read_fail_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_done": { "name": "Done Event Name", "description": "Event name when the service call did all its work (either success or failure). Has event data with relevant attributes.", "example": "my_read_done_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "fail_exception": { "name": "Exception When Failure", "description": "Throw exception when success==False, useful to stop scripts, automations", "selector": { "boolean": {} } }, "allow_create": { "name": "Allow Create", "description": "Allow state creation (given by state_id) if it does not exist", "selector": { "boolean": {} } }, "expect_reply": { "name": "Expect Reply", "description": "Wait for/expect a reply (not used yet)", "selector": { "boolean": {} } }, "csvout": { "name": "CSV Filename", "description": "Filename of CSV to write read data to. Written to \u0027csv\u0027 directory", "example": "../web/mycsv.csv", "selector": { "text": { "multiline": false, "multiple": false } } }, "csvlabel": { "name": "CSV Label", "description": "Label to use for read value (in CSV file)", "example": "SecretAttributeName", "selector": { "text": { "multiline": false, "multiple": false } } } }, "description": "Read Attribute", "name": "Read Attribute", "response": { "optional": true } }, "attr_write": { "fields": { "ieee": { "name": "Device Reference", "description": "Entity name, device name, or IEEE address of the node to execute command", "example": "00:0d:6f:00:05:7d:2d:34", "required": true, "selector": { "entity": { "integration": "zha", "multiple": false, "reorder": false } } }, "manf": { "name": "Manufacturer Id", "description": "Manufacturer id (0 = No manufacturer id, empty=possibly automatic)", "selector": { "number": { "min": 1.0, "max": 65535.0, "mode": "box", "step": 1.0 } } }, "endpoint": { "name": "Target Endpoint", "description": "target endpoint", "selector": { "number": { "min": 1.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "cluster": { "name": "Target Cluster", "description": "target cluster", "required": true, "selector": { "number": { "min": 0.0, "max": 65535.0, "mode": "box", "step": 1.0 } } }, "attribute": { "name": "Attribute Id or Name", "description": "target attribute id (or name, accepted in most cases)", "required": true, "selector": { "number": { "min": 0.0, "max": 65535.0, "mode": "box", "step": 1.0 } } }, "attr_type": { "name": "Attribute Type", "description": "Attribute type (to write, ...)", "selector": { "number": { "min": 0.0, "max": 65535.0, "mode": "box", "step": 1.0 } } }, "attr_val": { "name": "Attribute Value", "description": "Attribute value to write", "required": true, "selector": { "text": { "multiline": false, "multiple": false } } }, "use_cache": { "name": "Use Cache", "description": "Use zigpy attribute cache to get the value of an attribute. (Does not send a zigbee packet to read the attribute). Can also be 0, 1 or 2, where 2 has a special meaning where it falls back to an actual read (when reading before a write) when the value is not in cache.\n", "example": true, "selector": { "boolean": {} } }, "tries": { "name": "Tries", "description": "Number of times the zigbee packet should be attempted", "selector": { "number": { "min": 0.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "state_id": { "name": "State Id", "description": "When defined, name of state to write the read attribute value to", "example": "sensor.example", "selector": { "text": { "multiline": false, "multiple": false } } }, "state_attr": { "name": "State Attribute", "description": "When defined, attribute in state_id to write the read attribute value to. Write to state value when missing (and state_id is defined)", "example": "other_attr", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_success": { "name": "Success Event Name", "description": "Event name in case of success", "example": "my_read_success_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_fail": { "name": "Fail Event Name", "description": "Event name in case of failure", "example": "my_read_fail_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_done": { "name": "Done Event Name", "description": "Event name when the service call did all its work (either success or failure). Has event data with relevant attributes.", "example": "my_read_done_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "fail_exception": { "name": "Exception When Failure", "description": "Throw exception when success==False, useful to stop scripts, automations", "selector": { "boolean": {} } }, "allow_create": { "name": "Allow Create", "description": "Allow state creation (given by state_id) if it does not exist", "selector": { "boolean": {} } }, "read_before_write": { "name": "Read Before Write", "description": "Read attribute before writing it (used with attr_write). When the read value matches the value to write, no write is done. Defaults to True.", "selector": { "boolean": {} } }, "read_after_write": { "name": "Read After Write", "description": "Read attribute after writing. Can be used to ensure the values match. Defaults to True", "selector": { "boolean": {} } }, "write_if_equal": { "name": "Write If Equal", "description": "Force writing the attribute even if the read attribute already matches. Defaults to False", "selector": { "boolean": {} } }, "expect_reply": { "name": "Expect Reply", "description": "Wait for/expect a reply (not used yet)", "selector": { "boolean": {} } }, "csvout": { "name": "CSV Filename", "description": "Filename of CSV to write read data to. Written to \u0027csv\u0027 directory", "example": "../web/mycsv.csv", "selector": { "text": { "multiline": false, "multiple": false } } }, "csvlabel": { "name": "CSV Label", "description": "Label to use for read value (in CSV file)", "example": "SecretAttributeName", "selector": { "text": { "multiline": false, "multiple": false } } } }, "description": "Write Attribute", "name": "Write Attribute", "response": { "optional": true } }, "backup": { "fields": { "command_data": { "name": "Backup File Suffix", "description": "Suffix for backup file", "example": "_bathroom_added", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_success": { "name": "Success Event Name", "description": "Event name in case of success", "example": "my_read_success_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_fail": { "name": "Fail Event Name", "description": "Event name in case of failure", "example": "my_read_fail_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_done": { "name": "Done Event Name", "description": "Event name when the service call did all its work (either success or failure). Has event data with relevant attributes.", "example": "my_read_done_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "fail_exception": { "name": "Exception When Failure", "description": "Throw exception when success==False, useful to stop scripts, automations", "selector": { "boolean": {} } }, "expect_reply": { "name": "Expect Reply", "description": "Wait for/expect a reply (not used yet)", "selector": { "boolean": {} } } }, "description": "Backup coordinator data (znp, bellows/ezsp)", "name": "Backup Coordinator Data", "response": { "optional": true } }, "bind_group": { "fields": { "ieee": { "name": "Device Reference", "description": "Entity name, device name, or IEEE address of the node to execute command", "example": "00:0d:6f:00:05:7d:2d:34", "required": true, "selector": { "entity": { "integration": "zha", "multiple": false, "reorder": false } } }, "command_data": { "name": "Target Binding Group", "description": "Target group for binding", "example": "00:0d:6f:00:05:7d:2d:34", "required": true, "selector": { "number": { "min": 0.0, "max": 65535.0, "mode": "box", "step": 1.0 } } }, "endpoint": { "name": "Target Endpoint", "description": "Target endpoint (when missing: all endpoints)", "selector": { "number": { "min": 1.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "cluster": { "name": "Target Cluster", "description": "Target cluster (when missing: all internally defined cluster)", "selector": { "number": { "min": 0.0, "max": 65535.0, "mode": "box", "step": 1.0 } } }, "tries": { "name": "Tries", "description": "Number of times the zigbee packet should be attempted", "selector": { "number": { "min": 0.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "event_success": { "name": "Success Event Name", "description": "Event name in case of success", "example": "my_read_success_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_fail": { "name": "Fail Event Name", "description": "Event name in case of failure", "example": "my_read_fail_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_done": { "name": "Done Event Name", "description": "Event name when the service call did all its work (either success or failure). Has event data with relevant attributes.", "example": "my_read_done_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "fail_exception": { "name": "Exception When Failure", "description": "Throw exception when success==False, useful to stop scripts, automations", "selector": { "boolean": {} } }, "expect_reply": { "name": "Expect Reply", "description": "Wait for/expect a reply (not used yet)", "selector": { "boolean": {} } } }, "description": "Bind clusters from ieee device to command_data device", "name": "Bind Clusters From Device to Device", "response": { "optional": true } }, "bind_ieee": { "fields": { "ieee": { "name": "Device Reference", "description": "Entity name, device name, or IEEE address of the node to execute command", "example": "00:0d:6f:00:05:7d:2d:34", "required": true, "selector": { "entity": { "integration": "zha", "multiple": false, "reorder": false } } }, "command_data": { "name": "Bind To Device Reference", "description": "Binding target (Entity name, device name, or IEEE address of the node to execute command). By default: coordinator", "example": "00:0d:6f:00:05:7d:2d:34", "required": false, "selector": { "entity": { "integration": "zha", "multiple": false, "reorder": false } } }, "endpoint": { "name": "Target Endpoint", "description": "Target endpoint (when missing: all endpoints)", "selector": { "number": { "min": 1.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "dst_endpoint": { "name": "Destination Endpoint", "description": "Destination endpoint (when missing: first EP with matching cluster)", "selector": { "number": { "min": 1.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "cluster": { "name": "Target Cluster", "description": "Target cluster (or all internally defined ones)", "selector": { "number": { "min": 0.0, "max": 65535.0, "mode": "box", "step": 1.0 } } }, "tries": { "name": "Tries", "description": "Number of times the zigbee packet should be attempted", "selector": { "number": { "min": 0.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "event_success": { "name": "Success Event Name", "description": "Event name in case of success", "example": "my_read_success_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_fail": { "name": "Fail Event Name", "description": "Event name in case of failure", "example": "my_read_fail_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_done": { "name": "Done Event Name", "description": "Event name when the service call did all its work (either success or failure). Has event data with relevant attributes.", "example": "my_read_done_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "fail_exception": { "name": "Exception When Failure", "description": "Throw exception when success==False, useful to stop scripts, automations", "selector": { "boolean": {} } }, "expect_reply": { "name": "Expect Reply", "description": "Wait for/expect a reply (not used yet)", "selector": { "boolean": {} } } }, "description": "Bind clusters from ieee device to command_data device", "name": "Bind Cluster", "response": { "optional": true } }, "binds_get": { "fields": { "ieee": { "name": "Device Reference", "description": "Entity name, device name, or IEEE address of the node to execute command", "example": "00:0d:6f:00:05:7d:2d:34", "required": true, "selector": { "entity": { "integration": "zha", "multiple": false, "reorder": false } } }, "tries": { "name": "Tries", "description": "Number of times the zigbee packet should be attempted", "selector": { "number": { "min": 0.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "event_success": { "name": "Success Event Name", "description": "Event name in case of success", "example": "my_read_success_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_fail": { "name": "Fail Event Name", "description": "Event name in case of failure", "example": "my_read_fail_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_done": { "name": "Done Event Name", "description": "Event name when the service call did all its work (either success or failure). Has event data with relevant attributes.", "example": "my_read_done_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "fail_exception": { "name": "Exception When Failure", "description": "Throw exception when success==False, useful to stop scripts, automations", "selector": { "boolean": {} } }, "expect_reply": { "name": "Expect Reply", "description": "Wait for/expect a reply (not used yet)", "selector": { "boolean": {} } } }, "description": "Get binding table from device.", "name": "Get Binding Table", "response": { "optional": true } }, "binds_remove_all": { "fields": { "ieee": { "name": "Device Reference", "description": "Entity name, device name, or IEEE address of the node to execute command", "example": "00:0d:6f:00:05:7d:2d:34", "required": true, "selector": { "entity": { "integration": "zha", "multiple": false, "reorder": false } } }, "command_data": { "name": "Remove Bindings with This Device", "description": "When provided, remove only bindings towards this device (Entity name, device name, or IEEE address of the binding destination)", "example": "00:0d:6f:00:05:7d:2d:34", "selector": { "entity": { "integration": "zha", "multiple": false, "reorder": false } } }, "endpoint": { "name": "Target Endpoint", "description": "When provided, remove only bindings for this endpoint or list of endpoints (single value or list. Example: 20 or [20, 30]) Otherwise: removes bindings for all endpoints", "selector": { "number": { "min": 0.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "cluster": { "name": "Target Cluster", "description": "When provided, remove only bindings for this cluster or list of clusters (single value or list. Example: 0x0200 or [0x200, 0x300]) Otherwise: removes bindings for all clusters", "selector": { "number": { "min": 0.0, "max": 65535.0, "mode": "box", "step": 1.0 } } }, "tries": { "name": "Tries", "description": "Number of times the zigbee packet should be attempted", "selector": { "number": { "min": 0.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "event_success": { "name": "Success Event Name", "description": "Event name in case of success", "example": "my_read_success_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_fail": { "name": "Fail Event Name", "description": "Event name in case of failure", "example": "my_read_fail_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_done": { "name": "Done Event Name", "description": "Event name when the service call did all its work (either success or failure). Has event data with relevant attributes.", "example": "my_read_done_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "fail_exception": { "name": "Exception When Failure", "description": "Throw exception when success==False, useful to stop scripts, automations", "selector": { "boolean": {} } }, "expect_reply": { "name": "Expect Reply", "description": "Wait for/expect a reply (not used yet)", "selector": { "boolean": {} } } }, "description": "Remove (Unbind) all bindings from device", "name": "Remove All Bindings from Device", "response": { "optional": true } }, "conf_report": { "fields": { "ieee": { "name": "Device Reference", "description": "Entity name, device name, or IEEE address of the node to execute command\u0022", "example": "00:0d:6f:00:05:7d:2d:34", "required": true, "selector": { "entity": { "integration": "zha", "multiple": false, "reorder": false } } }, "endpoint": { "name": "Target Endpoint", "description": "target endpoint", "selector": { "number": { "min": 1.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "cluster": { "name": "Target Cluster", "description": "target cluster", "required": true, "selector": { "number": { "min": 0.0, "max": 65535.0, "mode": "box", "step": 1.0 } } }, "attribute": { "name": "Attribute Id or Name", "description": "target attribute id (or name, accepted in most cases)", "required": true, "selector": { "number": { "min": 0.0, "max": 65535.0, "mode": "box", "step": 1.0 } } }, "min_interval": { "name": "Minimum Report Interval", "description": "Minimum report interval (seconds)", "required": true, "selector": { "number": { "min": 0.0, "max": 65535.0, "mode": "box", "step": 1.0 } } }, "max_interval": { "name": "Maximum Report Interval", "description": "Maximum report interval (seconds)", "required": true, "selector": { "number": { "min": 0.0, "max": 65535.0, "mode": "box", "step": 1.0 } } }, "reportable_change": { "name": "Minimum Reportable Change", "description": "Minimum change before reporting", "required": true, "selector": { "number": { "min": 0.0, "max": 65535.0, "mode": "box", "step": 1.0 } } }, "manf": { "name": "Manufacturer Id", "description": "Manufacturer id (0 = No manufacturer id, empty=possibly automatic)", "selector": { "number": { "min": 1.0, "max": 65535.0, "mode": "box", "step": 1.0 } } }, "tries": { "name": "Tries", "description": "Number of times the zigbee packet should be attempted", "selector": { "number": { "min": 1.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "event_success": { "name": "Success Event Name", "description": "Event name in case of success", "example": "my_read_success_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_fail": { "name": "Fail Event Name", "description": "Event name in case of failure", "example": "my_read_fail_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_done": { "name": "Done Event Name", "description": "Event name when the service call did all its work (either success or failure). Has event data with relevant attributes.", "example": "my_read_done_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "fail_exception": { "name": "Exception When Failure", "description": "Throw exception when success==False, useful to stop scripts, automations", "selector": { "boolean": {} } }, "expect_reply": { "name": "Expect Reply", "description": "Wait for/expect a reply (not used yet)", "selector": { "boolean": {} } } }, "description": "Configure attribute reporting. You can set a high value for tries (100 or more) for sleepy devices.\u0022", "name": "Configure Attribute Reporting", "response": { "optional": true } }, "conf_report_read": { "fields": { "ieee": { "name": "Device Reference", "description": "Entity name, device name, or IEEE address of the node to execute command\u0022", "example": "00:0d:6f:00:05:7d:2d:34", "required": true, "selector": { "entity": { "integration": "zha", "multiple": false, "reorder": false } } }, "endpoint": { "name": "Target Endpoint", "description": "target endpoint", "selector": { "number": { "min": 1.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "cluster": { "name": "Target Cluster", "description": "target cluster", "required": true, "selector": { "number": { "min": 0.0, "max": 65535.0, "mode": "box", "step": 1.0 } } }, "attribute": { "name": "Attribute Id or Name", "description": "target attribute id (or name, accepted in most cases), can be a list", "required": true, "selector": { "number": { "min": 0.0, "max": 65535.0, "mode": "box", "step": 1.0 } } }, "manf": { "name": "Manufacturer Id", "description": "Manufacturer id (0 = No manufacturer id, empty=possibly automatic)", "selector": { "number": { "min": 1.0, "max": 65535.0, "mode": "box", "step": 1.0 } } }, "tries": { "name": "Tries", "description": "Number of times the zigbee packet should be attempted", "selector": { "number": { "min": 1.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "event_success": { "name": "Success Event Name", "description": "Event name in case of success", "example": "my_read_success_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_fail": { "name": "Fail Event Name", "description": "Event name in case of failure", "example": "my_read_fail_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_done": { "name": "Done Event Name", "description": "Event name when the service call did all its work (either success or failure). Has event data with relevant attributes.", "example": "my_read_done_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "fail_exception": { "name": "Exception When Failure", "description": "Throw exception when success==False, useful to stop scripts, automations", "selector": { "boolean": {} } }, "expect_reply": { "name": "Expect Reply", "description": "Wait for/expect a reply (not used yet)", "selector": { "boolean": {} } } }, "description": "Read attribute report configuration You can set a high value for tries (100 or more) for sleepy devices.\u0022", "name": "Read Report Configuration", "response": { "optional": true } }, "ezsp_add_key": { "fields": {}, "response": { "optional": true } }, "ezsp_backup": { "fields": { "command_data": { "name": "Backup File Suffix", "description": "Suffix for backup file", "example": "_bathroom_added", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_success": { "name": "Success Event Name", "description": "Event name in case of success", "example": "my_read_success_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_fail": { "name": "Fail Event Name", "description": "Event name in case of failure", "example": "my_read_fail_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_done": { "name": "Done Event Name", "description": "Event name when the service call did all its work (either success or failure). Has event data with relevant attributes.", "example": "my_read_done_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "fail_exception": { "name": "Exception When Failure", "description": "Throw exception when success==False, useful to stop scripts, automations", "selector": { "boolean": {} } }, "expect_reply": { "name": "Expect Reply", "description": "Wait for/expect a reply (not used yet)", "selector": { "boolean": {} } } }, "description": "Backup coordinator data (bellows/ezsp)", "name": "Backup Ezsp Coordinator", "response": { "optional": true } }, "ezsp_clear_keys": { "fields": {}, "response": { "optional": true } }, "ezsp_get_config_value": { "fields": {}, "response": { "optional": true } }, "ezsp_get_ieee_by_nwk": { "fields": {}, "response": { "optional": true } }, "ezsp_get_keys": { "fields": {}, "response": { "optional": true } }, "ezsp_get_policy": { "fields": {}, "response": { "optional": true } }, "ezsp_get_token": { "fields": {}, "response": { "optional": true } }, "ezsp_get_value": { "fields": {}, "response": { "optional": true } }, "ezsp_set_channel": { "fields": {}, "response": { "optional": true } }, "ezsp_start_mfg": { "fields": {}, "response": { "optional": true } }, "get_groups": { "fields": { "ieee": { "name": "Device Reference", "description": "Entity name, device name, or IEEE address of the node", "example": "00:0d:6f:00:05:7d:2d:34", "required": true, "selector": { "entity": { "integration": "zha", "multiple": false, "reorder": false } } }, "endpoint": { "name": "Target Endpoint", "description": "endpoint to get information for (all endpoints when not set)", "selector": { "number": { "min": 1.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "tries": { "name": "Tries", "description": "Number of times the zigbee packet should be attempted", "selector": { "number": { "min": 1.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "event_success": { "name": "Success Event Name", "description": "Event name in case of success", "example": "my_read_success_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_fail": { "name": "Fail Event Name", "description": "Event name in case of failure", "example": "my_read_fail_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_done": { "name": "Done Event Name", "description": "Event name when the service call did all its work (either success or failure). Has event data with relevant attributes.", "example": "my_read_done_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "fail_exception": { "name": "Exception When Failure", "description": "Throw exception when success==False, useful to stop scripts, automations", "selector": { "boolean": {} } } }, "description": "Get groups set on the endpoints of the device", "name": "Get Groups Set On Endpoint", "response": { "optional": true } }, "get_routes_and_neighbours": { "fields": { "ieee": { "name": "Device Reference", "description": "Entity name, device name, or IEEE address of the node", "example": "00:0d:6f:00:05:7d:2d:34", "required": true, "selector": { "entity": { "integration": "zha", "multiple": false, "reorder": false } } }, "event_success": { "name": "Success Event Name", "description": "Event name in case of success", "example": "my_read_success_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_fail": { "name": "Fail Event Name", "description": "Event name in case of failure", "example": "my_read_fail_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_done": { "name": "Done Event Name", "description": "Event name when the service call did all its work (either success or failure). Has event data with relevant attributes.", "example": "my_read_done_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "fail_exception": { "name": "Exception When Failure", "description": "Throw exception when success==False, useful to stop scripts, automations", "selector": { "boolean": {} } }, "expect_reply": { "name": "Expect Reply", "description": "Wait for/expect a reply (not used yet)", "selector": { "boolean": {} } } }, "description": "Scan for all routes and neighbours, results saved to config/scans/...", "name": "Scan Device\u0027s Routes and Neighbours", "response": { "optional": true } }, "get_zll_groups": { "fields": { "ieee": { "name": "Device Reference", "description": "Entity name, device name, or IEEE address of the node", "example": "00:0d:6f:00:05:7d:2d:34", "required": true, "selector": { "entity": { "integration": "zha", "multiple": false, "reorder": false } } }, "tries": { "name": "Tries", "description": "Number of times the zigbee packet should be attempted", "selector": { "number": { "min": 1.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "event_success": { "name": "Success Event Name", "description": "Event name in case of success", "example": "my_read_success_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_fail": { "name": "Fail Event Name", "description": "Event name in case of failure", "example": "my_read_fail_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_done": { "name": "Done Event Name", "description": "Event name when the service call did all its work (either success or failure). Has event data with relevant attributes.", "example": "my_read_done_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "fail_exception": { "name": "Exception When Failure", "description": "Throw exception when success==False, useful to stop scripts, automations", "selector": { "boolean": {} } } }, "description": "Get groups for zll_cluster (if present)", "name": "Get Groups for ZLL Cluster", "response": { "optional": true } }, "ha_set_state": { "fields": { "attr_val": { "name": "Attribute Value", "description": "value to write to the state (or use in the template)", "required": true, "selector": { "text": { "multiline": false, "multiple": false } } }, "tries": { "name": "Tries", "description": "Number of times the zigbee packet should be attempted", "selector": { "number": { "min": 1.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "state_id": { "name": "state_id", "description": "Name of state to write the read attribute value to", "example": "sensor.example", "required": true, "selector": { "text": { "multiline": false, "multiple": false } } }, "state_attr": { "name": "State Attribute", "description": "When defined, attribute in state_id to write the read attribute value to. Write to state value when missing (and state_id is defined)", "example": "other_attr", "selector": { "text": { "multiline": false, "multiple": false } } }, "state_value_template": { "name": "State Value Template", "description": "When defined, used as a template expression. For example \u0022value \u002B 10\u0022 will be internally interpreted as \u0022{{ value \u002B 10 }}\u0022 where \u0027value\u0027 is substituted with the value for \u0027attr_val\u0027", "example": "value \u002B 10", "selector": { "text": { "multiline": false, "multiple": false } } }, "allow_create": { "name": "Allow Create", "description": "Allow state creation (given by state_id) if it does not exist", "selector": { "boolean": {} } }, "event_success": { "name": "Success Event Name", "description": "Event name in case of success", "example": "my_read_success_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_fail": { "name": "Fail Event Name", "description": "Event name in case of failure", "example": "my_read_fail_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_done": { "name": "Done Event Name", "description": "Event name when the service call did all its work (either success or failure). Has event data with relevant attributes.", "example": "my_read_done_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "fail_exception": { "name": "Exception When Failure", "description": "Throw exception when success==False, useful to stop scripts, automations", "selector": { "boolean": {} } }, "csvout": { "name": "CSV Filename", "description": "Filename of CSV to write the update state information to. Written to \u0027csv\u0027 directory.", "example": "../web/mystatecsv.csv", "selector": { "text": { "multiline": false, "multiple": false } } }, "csvlabel": { "name": "CSV Label", "description": "Label to designate value written (in CSV file)", "example": "Updated from zha_toolkit.ha_set_state", "selector": { "text": { "multiline": false, "multiple": false } } } }, "description": "Set/update a Home Assistant state", "name": "Set/Update Home Assistant State", "response": { "optional": true } }, "zha_devices": { "fields": { "ieee": { "name": "Device Reference", "description": "Optional Entity name, device name, or IEEE address of the device to provide details for. Defaults to all devices", "example": "00:0d:6f:00:05:7d:2d:34", "required": false, "selector": { "entity": { "integration": "zha", "multiple": false, "reorder": false } } }, "command_data": { "name": "Selected Fields", "description": "Selected Fields", "example": [ "ieee", "lqi", "name" ], "selector": { "text": { "multiline": false, "multiple": false } } }, "csvout": { "name": "CSV Filename", "description": "Filename of CSV to write read data to. Written to \u0027csv\u0027 directory (can be relative as in example).", "example": "../web/mycsv.csv", "selector": { "text": { "multiline": false, "multiple": false } } }, "csvlabel": { "name": "CSV Sort Column", "description": "Column to sort table by", "example": "lqi", "selector": { "select": { "options": [ "ieee", "nwk", "manufacturer", "model", "name", "quirk_applied", "quirk_class", "manufacturer_code", "power_source", "lqi", "rssi", "last_seen", "available", "device_type", "user_given_name", "device_reg_id", "area_id" ], "multiple": false, "sort": false, "custom_value": false } } }, "json_out": { "name": "JSON Filename", "description": "Filename of JSON to write read data to. Written to \u0027/config/json\u0027 directory", "required": false, "example": "zha_devices.json", "selector": { "text": { "multiline": false, "multiple": false } } }, "json_timestamp": { "name": "JSON Timestamp", "description": "Add timestamp to Filename of JSON file. Defaults to False.", "required": false, "example": true, "selector": { "boolean": {} } }, "event_success": { "name": "Success Event Name", "description": "Event name in case of success", "example": "my_read_success_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_fail": { "name": "Fail Event Name", "description": "Event name in case of failure", "example": "my_read_fail_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_done": { "name": "Done Event Name", "description": "Event name when the service call did all its work (either success or failure). Has event data with relevant attributes.", "example": "my_read_done_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "fail_exception": { "name": "Exception When Failure", "description": "Throw exception when success==False, useful to stop scripts, automations", "selector": { "boolean": {} } } }, "description": "Export device information (Response, CSV File, JSON File, Event)", "name": "Get/Export Device Information", "response": { "optional": true } }, "handle_join": { "fields": { "ieee": { "name": "Device Reference", "description": "Entity name, device name, or IEEE address of the node to execute command", "example": "00:0d:6f:00:05:7d:2d:34", "required": true, "selector": { "entity": { "integration": "zha", "multiple": false, "reorder": false } } }, "command_data": { "name": "Short Network Address", "description": "Short network address of the device (optional, if known in ZHA)", "selector": { "number": { "min": 1.0, "max": 65535.0, "mode": "box", "step": 1.0 } } } }, "description": "Handle join (ZHA should re-interrogate the device as on new join)", "name": "Handle Join", "response": { "optional": true } }, "ieee_ping": { "fields": { "ieee": { "name": "Device Reference", "description": "Ping: Requests IEEE address (using the known NWK Address)", "example": "00:0d:6f:00:05:7d:2d:34", "required": true, "selector": { "entity": { "integration": "zha", "multiple": false, "reorder": false } } }, "event_success": { "name": "Success Event Name", "description": "Event name in case of success", "example": "my_read_success_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_fail": { "name": "Fail Event Name", "description": "Event name in case of failure", "example": "my_read_fail_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_done": { "name": "Done Event Name", "description": "Event name when the service call did all its work (either success or failure). Has event data with relevant attributes.", "example": "my_read_done_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "fail_exception": { "name": "Exception When Failure", "description": "Throw exception when success==False, useful to stop scripts, automations", "selector": { "boolean": {} } }, "expect_reply": { "name": "Expect Reply", "description": "Wait for/expect a reply (not used yet)", "selector": { "boolean": {} } } }, "description": "Ping device", "name": "Ping Device", "response": { "optional": true } }, "leave": { "fields": { "ieee": { "name": "Device Reference", "description": "Entity name, device name, or IEEE address of the node to leave the network", "example": "00:0d:6f:00:05:7d:2d:34", "required": true, "selector": { "entity": { "integration": "zha", "multiple": false, "reorder": false } } }, "tries": { "name": "Tries", "description": "Number of times the zigbee packet should be attempted", "selector": { "number": { "min": 1.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "event_success": { "name": "Success Event Name", "description": "Event name in case of success", "example": "my_read_success_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_fail": { "name": "Fail Event Name", "description": "Event name in case of failure", "example": "my_read_fail_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_done": { "name": "Done Event Name", "description": "Event name when the service call did all its work (either success or failure). Has event data with relevant attributes.", "example": "my_read_done_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "fail_exception": { "name": "Exception When Failure", "description": "Throw exception when success==False, useful to stop scripts, automations", "selector": { "boolean": {} } }, "expect_reply": { "name": "Expect Reply", "description": "Wait for/expect a reply (not used yet)", "selector": { "boolean": {} } } }, "description": "Send a Leave request to the device", "name": "Send Leave Request", "response": { "optional": true } }, "misc_reinitialize": { "fields": { "ieee": { "name": "Device Reference", "description": "Entity name, device name, or IEEE address of the node to execute command\u0022", "example": "00:0d:6f:00:05:7d:2d:34", "required": true, "selector": { "entity": { "integration": "zha", "multiple": false, "reorder": false } } } }, "description": "Reinitialize device", "name": "Reinitialize Device", "response": { "optional": true } }, "misc_settime": { "fields": { "ieee": { "name": "Device Reference", "description": "Entity name, device name, or IEEE address", "example": "00:0d:6f:00:05:7d:2d:34", "required": true, "selector": { "entity": { "integration": "zha", "multiple": false, "reorder": false } } }, "endpoint": { "name": "Target Endpoint", "description": "target endpoint", "selector": { "number": { "min": 1.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "tries": { "name": "Tries", "description": "Number of times the zigbee packet should be attempted", "selector": { "number": { "min": 1.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "event_success": { "name": "Success Event Name", "description": "Event name in case of success", "example": "my_read_success_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_fail": { "name": "Fail Event Name", "description": "Event name in case of failure", "example": "my_read_fail_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_done": { "name": "Done Event Name", "description": "Event name when the service call did all its work (either success or failure). Has event data with relevant attributes.", "example": "my_read_done_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "fail_exception": { "name": "Exception When Failure", "description": "Throw exception when success==False, useful to stop scripts, automations", "selector": { "boolean": {} } }, "read_before_write": { "name": "Read Before Write", "description": "Read attributes before writing them", "selector": { "boolean": {} } }, "read_after_write": { "name": "Read After Write", "description": "Read attribute after writing. Can be used to ensure the values match. Defaults to True", "selector": { "boolean": {} } }, "csvout": { "name": "CSV Filename", "description": "Filename of CSV to write read data to. Written to \u0027csv\u0027 directory", "example": "../web/mycsv.csv", "selector": { "text": { "multiline": false, "multiple": false } } } }, "description": "Set Time Cluster attributes (Time, DST - except TimeStatus)", "name": "Set Time", "response": { "optional": true } }, "ota_notify": { "fields": { "ieee": { "name": "Device Reference", "description": "Entity name, device name, or IEEE address of the node to execute command", "example": "entity.name_of_zigbee_device", "required": true, "selector": { "entity": { "integration": "zha", "multiple": false, "reorder": false } } }, "download": { "name": "Enable Firmware Download", "description": "When True, download FW from KKoenk\u0027s list that possibly matches devices.", "selector": { "boolean": {} } }, "path": { "name": "Firmware Directory", "description": "Path to write ota image(s) to (defaults to zha:zigpy_config:ota:otau_directory value or /config/zigpy_ota)", "selector": { "text": { "multiline": false, "multiple": false } } }, "tries": { "name": "Tries", "description": "Number of times the zigbee packet should be attempted", "selector": { "number": { "min": 1.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "event_success": { "name": "Success Event Name", "description": "Event name in case of success", "example": "ota_notify_success", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_fail": { "name": "Fail Event Name", "description": "Event name in case of failure", "example": "ota_notify_fail", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_done": { "name": "Done Event Name", "description": "Event name when the images were updated and the device notified (either success or failure).", "example": "ota_notify_done", "selector": { "text": { "multiline": false, "multiple": false } } }, "fail_exception": { "name": "Exception When Failure", "description": "Throw exception when success==False, useful to stop scripts, automations", "selector": { "boolean": {} } }, "expect_reply": { "name": "Expect Reply", "description": "Wait for/expect a reply (not used yet)", "selector": { "boolean": {} } } }, "description": "Notify a device that an update is available, after triggering ota image providers to fetch new images.", "name": "Trigger Device\u0027s Firmware Update", "response": { "optional": true } }, "rejoin": { "fields": { "ieee": { "name": "Device Reference", "description": "Entity name, device name, or IEEE address of the node to request rejoin", "example": "00:0d:6f:00:05:7d:2d:34", "required": true, "selector": { "entity": { "integration": "zha", "multiple": false, "reorder": false } } }, "command_data": { "name": "Node to send the Rejoin", "description": "Node used to accept the rejoin (Entity name, device name, or IEEE address of the node)", "example": "00:0d:6f:00:05:7d:2d:34", "selector": { "entity": { "integration": "zha", "multiple": false, "reorder": false } } }, "tries": { "name": "Tries", "description": "Number of times the zigbee packet should be attempted", "selector": { "number": { "min": 1.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "event_success": { "name": "Success Event Name", "description": "Event name in case of success", "example": "my_read_success_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_fail": { "name": "Fail Event Name", "description": "Event name in case of failure", "example": "my_read_fail_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_done": { "name": "Done Event Name", "description": "Event name when the service call did all its work (either success or failure). Has event data with relevant attributes.", "example": "my_read_done_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "fail_exception": { "name": "Exception When Failure", "description": "Throw exception when success==False, useful to stop scripts, automations", "selector": { "boolean": {} } }, "expect_reply": { "name": "Expect Reply", "description": "Wait for/expect a reply (not used yet)", "selector": { "boolean": {} } } }, "description": "Send a rejoin request to the device (=leave with rejoin)", "name": "Send Rejoin Request", "response": { "optional": true } }, "register_services": { "fields": {}, "description": "Reregister zha-toolkit services Useful during development when they are updated in __init__.py", "name": "Register Services", "response": { "optional": true } }, "remove_all_groups": { "fields": { "ieee": { "name": "Device Reference", "description": "Entity name, device name, or IEEE address of the node", "example": "00:0d:6f:00:05:7d:2d:34", "required": true, "selector": { "entity": { "integration": "zha", "multiple": false, "reorder": false } } }, "endpoint": { "name": "Target Endpoint", "description": "endpoint to remove group from (all endpoints when not set)", "selector": { "number": { "min": 1.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "tries": { "name": "Tries", "description": "Number of times the zigbee packet should be attempted", "selector": { "number": { "min": 1.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "event_success": { "name": "Success Event Name", "description": "Event name in case of success", "example": "my_read_success_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_fail": { "name": "Fail Event Name", "description": "Event name in case of failure", "example": "my_read_fail_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_done": { "name": "Done Event Name", "description": "Event name when the service call did all its work (either success or failure). Has event data with relevant attributes.", "example": "my_read_done_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "fail_exception": { "name": "Exception When Failure", "description": "Throw exception when success==False, useful to stop scripts, automations", "selector": { "boolean": {} } } }, "description": "Remove all groups from (selected) endpoints on device", "name": "Remove All Groups from Endpoint", "response": { "optional": true } }, "remove_from_group": { "fields": { "ieee": { "name": "Device Reference", "description": "Entity name, device name, or IEEE address of the node", "example": "00:0d:6f:00:05:7d:2d:34", "required": true, "selector": { "entity": { "integration": "zha", "multiple": false, "reorder": false } } }, "endpoint": { "name": "Target Endpoint", "description": "endpoint to remove group from (or all EP if not set)", "selector": { "number": { "min": 1.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "command_data": { "name": "Group Id", "description": "Group id to remove", "example": 2, "required": true, "selector": { "number": { "min": 0.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "tries": { "name": "Tries", "description": "Number of times the zigbee packet should be attempted", "selector": { "number": { "min": 1.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "event_success": { "name": "Success Event Name", "description": "Event name in case of success", "example": "my_read_success_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_fail": { "name": "Fail Event Name", "description": "Event name in case of failure", "example": "my_read_fail_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_done": { "name": "Done Event Name", "description": "Event name when the service call did all its work (either success or failure). Has event data with relevant attributes.", "example": "my_read_done_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "fail_exception": { "name": "Exception When Failure", "description": "Throw exception when success==False, useful to stop scripts, automations", "selector": { "boolean": {} } } }, "description": "Remove device endpoints from group", "name": "Remove Endpoints from Group", "response": { "optional": true } }, "remove_group": { "fields": { "ieee": { "name": "Device Reference", "description": "Entity name, device name, or IEEE address of the node", "example": "00:0d:6f:00:05:7d:2d:34", "required": true, "selector": { "entity": { "integration": "zha", "multiple": false, "reorder": false } } }, "endpoint": { "name": "Target Endpoint", "description": "endpoint to remove group from (or all EP if not set)", "selector": { "number": { "min": 1.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "command_data": { "name": "Group Id", "description": "Group id to remove", "example": 2, "required": true, "selector": { "number": { "min": 0.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "tries": { "name": "Tries", "description": "Number of times the zigbee packet should be attempted", "selector": { "number": { "min": 1.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "event_success": { "name": "Success Event Name", "description": "Event name in case of success", "example": "my_read_success_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_fail": { "name": "Fail Event Name", "description": "Event name in case of failure", "example": "my_read_fail_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_done": { "name": "Done Event Name", "description": "Event name when the service call did all its work (either success or failure). Has event data with relevant attributes.", "example": "my_read_done_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "fail_exception": { "name": "Exception When Failure", "description": "Throw exception when success==False, useful to stop scripts, automations", "selector": { "boolean": {} } } }, "description": "Remove group from endpoint groups list of device. May be equivalent to \u0060remove_from_group\u0060", "name": "Remove Group from Endpoint", "response": { "optional": true } }, "scan_device": { "fields": { "ieee": { "name": "Device Reference", "description": "Entity name, device name, or IEEE address of the node to execute command", "example": "00:0d:6f:00:05:7d:2d:34", "required": true, "selector": { "entity": { "integration": "zha", "multiple": false, "reorder": false } } }, "endpoint": { "name": "Target Endpoint", "description": "Target endpoint, or list of endpoints", "example": 1, "selector": { "number": { "min": 1.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "tries": { "name": "Tries", "description": "Number of times a zigbee packet is repeated when no response", "selector": { "number": { "min": 1.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "event_success": { "name": "Success Event Name", "description": "Event name in case of success", "example": "my_read_success_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_fail": { "name": "Fail Event Name", "description": "Event name in case of failure", "example": "my_read_fail_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_done": { "name": "Done Event Name", "description": "Event name when the service call did all its work (either success or failure). Has event data with relevant attributes.", "example": "my_read_done_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "fail_exception": { "name": "Exception When Failure", "description": "Throw exception when success==False, useful to stop scripts, automations", "selector": { "boolean": {} } }, "expect_reply": { "name": "Expect Reply", "description": "Wait for/expect a reply (not used yet)", "selector": { "boolean": {} } } }, "description": "Scan device (result written to file in /config/scans)", "name": "Scan Device", "response": { "optional": true } }, "tuya_magic": { "fields": { "ieee": { "name": "Device Reference", "description": "Entity name, device name, or IEEE address of the node to execute command", "example": "00:0d:6f:00:05:7d:2d:34", "required": true, "selector": { "entity": { "integration": "zha", "multiple": false, "reorder": false } } }, "tries": { "name": "Tries", "description": "Number of times the zigbee packet should be attempted", "selector": { "number": { "min": 1.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "event_success": { "name": "Success Event Name", "description": "Event name in case of success", "example": "my_read_success_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_fail": { "name": "Fail Event Name", "description": "Event name in case of failure", "example": "my_read_fail_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_done": { "name": "Done Event Name", "description": "Event name when the service call did all its work (either success or failure). Has event data with relevant attributes.", "example": "my_read_done_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "fail_exception": { "name": "Exception When Failure", "description": "Throw exception when success==False, useful to stop scripts, automations", "selector": { "boolean": {} } }, "expect_reply": { "name": "Expect Reply", "description": "Wait for/expect a reply (not used yet)", "selector": { "boolean": {} } } }, "description": "Do Tuya magic spell (= make most Tuya devices work normally)", "name": "Cast Tuya Magic Spell", "response": { "optional": true } }, "unbind_coordinator": { "fields": { "ieee": { "name": "Device Reference", "description": "Entity name, device name, or IEEE address of the node to execute command", "example": "00:0d:6f:00:05:7d:2d:34", "required": true, "selector": { "entity": { "integration": "zha", "multiple": false, "reorder": false } } }, "endpoint": { "name": "Target Endpoint", "description": "When provided, remove only bindings for this endpoint or list of endpoints (single value or list. Example: 20 or [20, 30]) Otherwise: removes bindings for all endpoints", "selector": { "number": { "min": 0.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "cluster": { "name": "Target Cluster", "description": "When provided, remove only bindings for this cluster or list of clusters (single value or list. Example: 0x0200 or [0x200, 0x300]) Otherwise: removes bindings for all clusters", "selector": { "number": { "min": 0.0, "max": 65535.0, "mode": "box", "step": 1.0 } } }, "tries": { "name": "Tries", "description": "Number of times the zigbee packet should be attempted", "selector": { "number": { "min": 1.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "event_success": { "name": "Success Event Name", "description": "Event name in case of success", "example": "my_read_success_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_fail": { "name": "Fail Event Name", "description": "Event name in case of failure", "example": "my_read_fail_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_done": { "name": "Done Event Name", "description": "Event name when the service call did all its work (either success or failure). Has event data with relevant attributes.", "example": "my_read_done_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "fail_exception": { "name": "Exception When Failure", "description": "Throw exception when success==False, useful to stop scripts, automations", "selector": { "boolean": {} } }, "expect_reply": { "name": "Expect Reply", "description": "Wait for/expect a reply (not used yet)", "selector": { "boolean": {} } } }, "description": "Remove (Unbind) all bindings from device to the coordinator (your HA Instance)", "name": "Remove Bindings to Coordinator", "response": { "optional": true } }, "unbind_group": { "fields": {}, "response": { "optional": true } }, "zcl_cmd": { "fields": { "ieee": { "name": "Device Reference", "description": "Entity name, device name, or IEEE address of the node to send\\ command to", "example": "00:0d:6f:00:05:7d:2d:34", "required": true, "selector": { "entity": { "integration": "zha", "multiple": false, "reorder": false } } }, "manf": { "name": "Manufacturer Id", "description": "Manufacturer id (0 = No manufacturer id, empty=possibly automatic)", "selector": { "number": { "min": 1.0, "max": 65535.0, "mode": "box", "step": 1.0 } } }, "endpoint": { "name": "Target Endpoint", "description": "target endpoint", "selector": { "number": { "min": 1.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "cluster": { "name": "Target Cluster", "description": "target cluster", "required": true, "selector": { "number": { "min": 0.0, "max": 65535.0, "mode": "box", "step": 1.0 } } }, "cmd": { "name": "Command Id", "description": "Command Id to execute", "required": true, "selector": { "number": { "min": 0.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "args": { "name": "Command Arguments", "description": "Arguments for command when needed (as per zigpy\u0027s definition corresponding to Zigbee Library Cluster (ZCL) specification)", "example": [ 1, "abcd", 3 ], "selector": { "text": { "multiline": false, "multiple": false } } }, "kwargs": { "name": "Command Keyword Arguments", "description": "Keyword arguments for command", "example": { "code": "cool_code" }, "selector": { "text": { "multiline": false, "multiple": false } } }, "tries": { "name": "Tries", "description": "Number of times the zigbee packet should be attempted", "selector": { "number": { "min": 0.0, "max": 255.0, "mode": "box", "step": 1.0 } } }, "event_success": { "name": "Success Event Name", "description": "Event name in case of success", "example": "my_read_success_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_fail": { "name": "Fail Event Name", "description": "Event name in case of failure", "example": "my_read_fail_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_done": { "name": "Done Event Name", "description": "Event name when the service call did all its work (either success or failure). Has event data with relevant attributes.", "example": "my_read_done_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "fail_exception": { "name": "Exception When Failure", "description": "Throw exception when success==False, useful to stop scripts, automations", "selector": { "boolean": {} } }, "expect_reply": { "name": "Expect Reply", "description": "Wait for/expect a reply (not used yet)", "selector": { "boolean": {} } } }, "description": "Send cluster command", "name": "Send Cluster Command", "response": { "optional": true } }, "zdo_flood_parent_annce": { "fields": {}, "response": { "optional": true } }, "zdo_join_with_code": { "fields": { "ieee": { "name": "Device Reference", "description": "Entity name, device name, or IEEE address of the node to request rejoin", "example": "00:0d:6f:00:05:7d:2d:34", "required": true, "selector": { "entity": { "integration": "zha", "multiple": false, "reorder": false } } }, "command_data": { "name": "Device accepting the Join", "description": "Node used to accept the rejoin (Entity name, device name, or IEEE address of the node)", "example": "00:0d:6f:00:05:7d:2d:34", "selector": { "entity": { "integration": "zha", "multiple": false, "reorder": false } } }, "code": { "name": "Code", "description": "The code the device needs to present", "example": "01234567", "required": true, "selector": { "text": { "multiline": false, "multiple": false } } }, "event_success": { "name": "Success Event Name", "description": "Event name in case of success", "example": "my_read_success_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_fail": { "name": "Fail Event Name", "description": "Event name in case of failure", "example": "my_read_fail_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_done": { "name": "Done Event Name", "description": "Event name when the service call did all its work (either success or failure). Has event data with relevant attributes.", "example": "my_read_done_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "fail_exception": { "name": "Exception When Failure", "description": "Throw exception when success==False, useful to stop scripts, automations", "selector": { "boolean": {} } }, "expect_reply": { "name": "Expect Reply", "description": "Wait for/expect a reply (not used yet)", "selector": { "boolean": {} } } }, "description": "Allow a device to join with a code (bellows radio type only)", "name": "Allow a device to join with a code", "response": { "optional": true } }, "zdo_scan_now": { "fields": {}, "response": { "optional": true } }, "zdo_update_nwk_id": { "fields": {}, "response": { "optional": true } }, "znp_backup": { "fields": { "command_data": { "name": "Backup File Suffix", "description": "Suffix for backup file", "example": "_bathroom_added", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_success": { "name": "Success Event Name", "description": "Event name in case of success", "example": "my_read_success_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_fail": { "name": "Fail Event Name", "description": "Event name in case of failure", "example": "my_read_fail_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "event_done": { "name": "Done Event Name", "description": "Event name when the service call did all its work (either success or failure). Has event data with relevant attributes.", "example": "my_read_done_trigger_event", "selector": { "text": { "multiline": false, "multiple": false } } }, "fail_exception": { "name": "Exception When Failure", "description": "Throw exception when success==False, useful to stop scripts, automations", "selector": { "boolean": {} } }, "expect_reply": { "name": "Expect Reply", "description": "Wait for/expect a reply (not used yet)", "selector": { "boolean": {} } } }, "description": "Backup coordinator data (znp, bellows/ezsp)", "name": "Backup ZNP Coordinator", "response": { "optional": true } }, "znp_nvram_backup": { "fields": {}, "response": { "optional": true } }, "znp_nvram_reset": { "fields": {}, "response": { "optional": true } }, "znp_nvram_restore": { "fields": {}, "response": { "optional": true } }, "znp_restore": { "fields": {}, "response": { "optional": true } } } }