Migrate integration services (B-D) to support translations (#96363)

This commit is contained in:
Franck Nijhof 2023-07-11 23:06:32 +02:00 committed by GitHub
parent 0ff015c3ad
commit c252758ac2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
40 changed files with 490 additions and 205 deletions

View File

@ -1,20 +1,14 @@
toggle: toggle:
name: Toggle
description: Toggle alert's notifications.
target: target:
entity: entity:
domain: alert domain: alert
turn_off: turn_off:
name: Turn off
description: Silence alert's notifications.
target: target:
entity: entity:
domain: alert domain: alert
turn_on: turn_on:
name: Turn on
description: Reset alert's notifications.
target: target:
entity: entity:
domain: alert domain: alert

View File

@ -9,5 +9,19 @@
"on": "[%key:common::state::active%]" "on": "[%key:common::state::active%]"
} }
} }
},
"services": {
"toggle": {
"name": "Toggle",
"description": "Toggles alert's notifications."
},
"turn_off": {
"name": "Turn off",
"description": "Silences alert's notifications."
},
"turn_on": {
"name": "Turn on",
"description": "Resets alert's notifications."
}
} }
} }

View File

@ -1,10 +1,6 @@
set_all_zones: set_all_zones:
name: Set all zones
description: Set all Blackbird zones to a single source.
fields: fields:
entity_id: entity_id:
name: Entity
description: Name of any blackbird zone.
required: true required: true
example: "media_player.zone_1" example: "media_player.zone_1"
selector: selector:
@ -12,8 +8,6 @@ set_all_zones:
integration: blackbird integration: blackbird
domain: media_player domain: media_player
source: source:
name: Source
description: Name of source to switch to.
required: true required: true
example: "Source 1" example: "Source 1"
selector: selector:

View File

@ -0,0 +1,18 @@
{
"services": {
"set_all_zones": {
"name": "Set all zones",
"description": "Sets all Blackbird zones to a single source.",
"fields": {
"entity_id": {
"name": "Entity",
"description": "Name of any blackbird zone."
},
"source": {
"name": "Source",
"description": "Name of source to switch to."
}
}
}
}
}

View File

@ -1,62 +1,41 @@
# Describes the format for available Blink services # Describes the format for available Blink services
blink_update: blink_update:
name: Update
description: Force a refresh.
trigger_camera: trigger_camera:
name: Trigger camera
description: Request camera to take new image.
target: target:
entity: entity:
integration: blink integration: blink
domain: camera domain: camera
save_video: save_video:
name: Save video
description: Save last recorded video clip to local file.
fields: fields:
name: name:
name: Name
description: Name of camera to grab video from.
required: true required: true
example: "Living Room" example: "Living Room"
selector: selector:
text: text:
filename: filename:
name: File name
description: Filename to writable path (directory may need to be included in allowlist_external_dirs in config)
required: true required: true
example: "/tmp/video.mp4" example: "/tmp/video.mp4"
selector: selector:
text: text:
save_recent_clips: save_recent_clips:
name: Save recent clips
description: 'Save all recent video clips to local directory with file pattern "%Y%m%d_%H%M%S_{name}.mp4"'
fields: fields:
name: name:
name: Name
description: Name of camera to grab recent clips from.
required: true required: true
example: "Living Room" example: "Living Room"
selector: selector:
text: text:
file_path: file_path:
name: Output directory
description: Directory name of writable path (directory may need to be included in allowlist_external_dirs in config)
required: true required: true
example: "/tmp" example: "/tmp"
selector: selector:
text: text:
send_pin: send_pin:
name: Send pin
description: Send a new PIN to blink for 2FA.
fields: fields:
pin: pin:
name: Pin
description: PIN received from blink. Leave empty if you only received a verification email.
example: "abc123" example: "abc123"
selector: selector:
text: text:

View File

@ -10,7 +10,9 @@
}, },
"2fa": { "2fa": {
"title": "Two-factor authentication", "title": "Two-factor authentication",
"data": { "2fa": "Two-factor code" }, "data": {
"2fa": "Two-factor code"
},
"description": "Enter the PIN sent via email or SMS" "description": "Enter the PIN sent via email or SMS"
} }
}, },
@ -46,5 +48,53 @@
"name": "Camera armed" "name": "Camera armed"
} }
} }
},
"services": {
"blink_update": {
"name": "Update",
"description": "Forces a refresh."
},
"trigger_camera": {
"name": "Trigger camera",
"description": "Requests camera to take new image."
},
"save_video": {
"name": "Save video",
"description": "Saves last recorded video clip to local file.",
"fields": {
"name": {
"name": "Name",
"description": "Name of camera to grab video from."
},
"filename": {
"name": "File name",
"description": "Filename to writable path (directory may need to be included in allowlist_external_dirs in config)."
}
}
},
"save_recent_clips": {
"name": "Save recent clips",
"description": "Saves all recent video clips to local directory with file pattern \"%Y%m%d_%H%M%S_{name}.mp4\".",
"fields": {
"name": {
"name": "Name",
"description": "Name of camera to grab recent clips from."
},
"file_path": {
"name": "Output directory",
"description": "Directory name of writable path (directory may need to be included in allowlist_external_dirs in config)."
}
}
},
"send_pin": {
"name": "Send pin",
"description": "Sends a new PIN to blink for 2FA.",
"fields": {
"pin": {
"name": "Pin",
"description": "PIN received from blink. Leave empty if you only received a verification email."
}
}
}
} }
} }

View File

@ -1,54 +1,36 @@
join: join:
name: Join
description: Group player together.
fields: fields:
master: master:
name: Master
description: Entity ID of the player that should become the master of the group.
required: true required: true
selector: selector:
entity: entity:
integration: bluesound integration: bluesound
domain: media_player domain: media_player
entity_id: entity_id:
name: Entity
description: Name of entity that will coordinate the grouping. Platform dependent.
selector: selector:
entity: entity:
integration: bluesound integration: bluesound
domain: media_player domain: media_player
unjoin: unjoin:
name: Unjoin
description: Unjoin the player from a group.
fields: fields:
entity_id: entity_id:
name: Entity
description: Name of entity that will be unjoined from their group. Platform dependent.
selector: selector:
entity: entity:
integration: bluesound integration: bluesound
domain: media_player domain: media_player
set_sleep_timer: set_sleep_timer:
name: Set sleep timer
description: "Set a Bluesound timer. It will increase timer in steps: 15, 30, 45, 60, 90, 0"
fields: fields:
entity_id: entity_id:
name: Entity
description: Name(s) of entities that will have a timer set.
selector: selector:
entity: entity:
integration: bluesound integration: bluesound
domain: media_player domain: media_player
clear_sleep_timer: clear_sleep_timer:
name: Clear sleep timer
description: Clear a Bluesound timer.
fields: fields:
entity_id: entity_id:
name: Entity
description: Name(s) of entities that will have the timer cleared.
selector: selector:
entity: entity:
integration: bluesound integration: bluesound

View File

@ -0,0 +1,48 @@
{
"services": {
"join": {
"name": "Join",
"description": "Group player together.",
"fields": {
"master": {
"name": "Master",
"description": "Entity ID of the player that should become the master of the group."
},
"entity_id": {
"name": "Entity",
"description": "Name of entity that will coordinate the grouping. Platform dependent."
}
}
},
"unjoin": {
"name": "Unjoin",
"description": "Unjoin the player from a group.",
"fields": {
"entity_id": {
"name": "Entity",
"description": "Name of entity that will be unjoined from their group. Platform dependent."
}
}
},
"set_sleep_timer": {
"name": "Set sleep timer",
"description": "Set a Bluesound timer. It will increase timer in steps: 15, 30, 45, 60, 90, 0.",
"fields": {
"entity_id": {
"name": "Entity",
"description": "Name(s) of entities that will have a timer set."
}
}
},
"clear_sleep_timer": {
"name": "Clear sleep timer",
"description": "Clear a Bluesound timer.",
"fields": {
"entity_id": {
"name": "Entity",
"description": "Name(s) of entities that will have the timer cleared."
}
}
}
}
}

View File

@ -1,3 +1 @@
update: update:
name: Update
description: Trigger manual tracker update

View File

@ -0,0 +1,8 @@
{
"services": {
"update": {
"name": "Update",
"description": "Triggers manual tracker update."
}
}
}

View File

@ -1,13 +1,9 @@
# Describes the format for available bond services # Describes the format for available bond services
set_fan_speed_tracked_state: set_fan_speed_tracked_state:
name: Set fan speed tracked state
description: Sets the tracked fan speed for a bond fan
fields: fields:
entity_id: entity_id:
description: Name(s) of entities to set the tracked fan speed.
example: "fan.living_room_fan" example: "fan.living_room_fan"
name: Entity
required: true required: true
selector: selector:
entity: entity:
@ -15,8 +11,6 @@ set_fan_speed_tracked_state:
domain: fan domain: fan
speed: speed:
required: true required: true
name: Fan Speed
description: Fan Speed as %.
example: 50 example: 50
selector: selector:
number: number:
@ -26,13 +20,9 @@ set_fan_speed_tracked_state:
mode: slider mode: slider
set_switch_power_tracked_state: set_switch_power_tracked_state:
name: Set switch power tracked state
description: Sets the tracked power state of a bond switch
fields: fields:
entity_id: entity_id:
description: Name(s) of entities to set the tracked power state of.
example: "switch.whatever" example: "switch.whatever"
name: Entity
required: true required: true
selector: selector:
entity: entity:
@ -40,20 +30,14 @@ set_switch_power_tracked_state:
domain: switch domain: switch
power_state: power_state:
required: true required: true
name: Power state
description: Power state
example: true example: true
selector: selector:
boolean: boolean:
set_light_power_tracked_state: set_light_power_tracked_state:
name: Set light power tracked state
description: Sets the tracked power state of a bond light
fields: fields:
entity_id: entity_id:
description: Name(s) of entities to set the tracked power state of.
example: "light.living_room_lights" example: "light.living_room_lights"
name: Entity
required: true required: true
selector: selector:
entity: entity:
@ -61,20 +45,14 @@ set_light_power_tracked_state:
domain: light domain: light
power_state: power_state:
required: true required: true
name: Power state
description: Power state
example: true example: true
selector: selector:
boolean: boolean:
set_light_brightness_tracked_state: set_light_brightness_tracked_state:
name: Set light brightness tracked state
description: Sets the tracked brightness state of a bond light
fields: fields:
entity_id: entity_id:
description: Name(s) of entities to set the tracked brightness state of.
example: "light.living_room_lights" example: "light.living_room_lights"
name: Entity
required: true required: true
selector: selector:
entity: entity:
@ -82,8 +60,6 @@ set_light_brightness_tracked_state:
domain: light domain: light
brightness: brightness:
required: true required: true
name: Brightness
description: Brightness
example: 50 example: 50
selector: selector:
number: number:
@ -93,24 +69,18 @@ set_light_brightness_tracked_state:
mode: slider mode: slider
start_increasing_brightness: start_increasing_brightness:
name: Start increasing brightness
description: "Start increasing the brightness of the light. (deprecated)"
target: target:
entity: entity:
integration: bond integration: bond
domain: light domain: light
start_decreasing_brightness: start_decreasing_brightness:
name: Start decreasing brightness
description: "Start decreasing the brightness of the light. (deprecated)"
target: target:
entity: entity:
integration: bond integration: bond
domain: light domain: light
stop: stop:
name: Stop
description: "Stop any in-progress action and empty the queue. (deprecated)"
target: target:
entity: entity:
integration: bond integration: bond

View File

@ -24,5 +24,75 @@
"abort": { "abort": {
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]" "already_configured": "[%key:common::config_flow::abort::already_configured_device%]"
} }
},
"services": {
"set_fan_speed_tracked_state": {
"name": "Set fan speed tracked state",
"description": "Sets the tracked fan speed for a bond fan.",
"fields": {
"entity_id": {
"name": "Entity",
"description": "Name(s) of entities to set the tracked fan speed."
},
"speed": {
"name": "Fan Speed",
"description": "Fan Speed as %."
}
}
},
"set_switch_power_tracked_state": {
"name": "Set switch power tracked state",
"description": "Sets the tracked power state of a bond switch.",
"fields": {
"entity_id": {
"name": "Entity",
"description": "Name(s) of entities to set the tracked power state of."
},
"power_state": {
"name": "Power state",
"description": "Power state."
}
}
},
"set_light_power_tracked_state": {
"name": "Set light power tracked state",
"description": "Sets the tracked power state of a bond light.",
"fields": {
"entity_id": {
"name": "Entity",
"description": "Name(s) of entities to set the tracked power state of."
},
"power_state": {
"name": "Power state",
"description": "Power state."
}
}
},
"set_light_brightness_tracked_state": {
"name": "Set light brightness tracked state",
"description": "Sets the tracked brightness state of a bond light.",
"fields": {
"entity_id": {
"name": "Entity",
"description": "Name(s) of entities to set the tracked brightness state of."
},
"brightness": {
"name": "Brightness",
"description": "Brightness."
}
}
},
"start_increasing_brightness": {
"name": "Start increasing brightness",
"description": "Start increasing the brightness of the light. (deprecated)."
},
"start_decreasing_brightness": {
"name": "Start decreasing brightness",
"description": "Start decreasing the brightness of the light. (deprecated)."
},
"stop": {
"name": "Stop",
"description": "Stop any in-progress action and empty the queue. (deprecated)."
}
} }
} }

View File

@ -1,10 +1,6 @@
browse_url: browse_url:
name: Browse
description: Open a URL in the default browser on the host machine of Home Assistant.
fields: fields:
url: url:
name: URL
description: The URL to open.
required: true required: true
example: "https://www.home-assistant.io" example: "https://www.home-assistant.io"
selector: selector:

View File

@ -0,0 +1,14 @@
{
"services": {
"browse_url": {
"name": "Browse",
"description": "Opens a URL in the default browser on the host machine of Home Assistant.",
"fields": {
"url": {
"name": "URL",
"description": "The URL to open."
}
}
}
}
}

View File

@ -1,25 +1,17 @@
show_lovelace_view: show_lovelace_view:
name: Show lovelace view
description: Show a Lovelace view on a Chromecast.
fields: fields:
entity_id: entity_id:
name: Entity
description: Media Player entity to show the Lovelace view on.
required: true required: true
selector: selector:
entity: entity:
integration: cast integration: cast
domain: media_player domain: media_player
dashboard_path: dashboard_path:
name: Dashboard path
description: The URL path of the Lovelace dashboard to show.
required: true required: true
example: lovelace-cast example: lovelace-cast
selector: selector:
text: text:
view_path: view_path:
name: View Path
description: The path of the Lovelace view to show.
example: downstairs example: downstairs
selector: selector:
text: text:

View File

@ -30,7 +30,7 @@
}, },
"advanced_options": { "advanced_options": {
"title": "Advanced Google Cast configuration", "title": "Advanced Google Cast configuration",
"description": "Allowed UUIDs - A comma-separated list of UUIDs of Cast devices to add to Home Assistant. Use only if you dont want to add all available cast devices.\nIgnore CEC - A comma-separated list of Chromecasts that should ignore CEC data for determining the active input. This will be passed to pychromecast.IGNORE_CEC.", "description": "Allowed UUIDs - A comma-separated list of UUIDs of Cast devices to add to Home Assistant. Use only if you don\u2019t want to add all available cast devices.\nIgnore CEC - A comma-separated list of Chromecasts that should ignore CEC data for determining the active input. This will be passed to pychromecast.IGNORE_CEC.",
"data": { "data": {
"ignore_cec": "Ignore CEC", "ignore_cec": "Ignore CEC",
"uuid": "Allowed UUIDs" "uuid": "Allowed UUIDs"
@ -40,5 +40,25 @@
"error": { "error": {
"invalid_known_hosts": "Known hosts must be a comma separated list of hosts." "invalid_known_hosts": "Known hosts must be a comma separated list of hosts."
} }
},
"services": {
"show_lovelace_view": {
"name": "Show dashboard view",
"description": "Shows a dashboard view on a Chromecast device.",
"fields": {
"entity_id": {
"name": "Entity",
"description": "Media player entity to show the dashboard view on."
},
"dashboard_path": {
"name": "Dashboard path",
"description": "The URL path of the dashboard to show."
},
"view_path": {
"name": "View path",
"description": "The path of the dashboard view to show."
}
}
}
} }
} }

View File

@ -1,30 +1,22 @@
seek_forward: seek_forward:
name: Seek forward
description: Seek forward by a set number of seconds.
target: target:
entity: entity:
integration: channels integration: channels
domain: media_player domain: media_player
seek_backward: seek_backward:
name: Seek backward
description: Seek backward by a set number of seconds.
target: target:
entity: entity:
integration: channels integration: channels
domain: media_player domain: media_player
seek_by: seek_by:
name: Seek by
description: Seek by an inputted number of seconds.
target: target:
entity: entity:
integration: channels integration: channels
domain: media_player domain: media_player
fields: fields:
seconds: seconds:
name: Seconds
description: Number of seconds to seek by. Negative numbers seek backwards.
required: true required: true
selector: selector:
number: number:

View File

@ -0,0 +1,22 @@
{
"services": {
"seek_forward": {
"name": "Seek forward",
"description": "Seeks forward by a set number of seconds."
},
"seek_backward": {
"name": "Seek backward",
"description": "Seeks backward by a set number of seconds."
},
"seek_by": {
"name": "Seek by",
"description": "Seeks by an inputted number of seconds.",
"fields": {
"seconds": {
"name": "Seconds",
"description": "Number of seconds to seek by. Negative numbers seek backwards."
}
}
}
}
}

View File

@ -1,3 +1 @@
update_records: update_records:
name: Update records
description: Manually trigger update to Cloudflare records

View File

@ -38,5 +38,11 @@
"single_instance_allowed": "[%key:common::config_flow::abort::single_instance_allowed%]", "single_instance_allowed": "[%key:common::config_flow::abort::single_instance_allowed%]",
"unknown": "[%key:common::config_flow::error::unknown%]" "unknown": "[%key:common::config_flow::error::unknown%]"
} }
},
"services": {
"update_records": {
"name": "Update records",
"description": "Manually trigger update to Cloudflare records."
}
} }
} }

View File

@ -1,25 +1,13 @@
turn_on: turn_on:
name: Turn on
description:
Set the light RGB to the predominant color found in the image provided by
URL or file path.
target: target:
entity: entity:
domain: light domain: light
fields: fields:
color_extract_url: color_extract_url:
name: URL
description:
The URL of the image we want to extract RGB values from. Must be allowed
in allowlist_external_urls.
example: https://www.example.com/images/logo.png example: https://www.example.com/images/logo.png
selector: selector:
text: text:
color_extract_path: color_extract_path:
name: Path
description:
The full system path to the image we want to extract RGB values from.
Must be allowed in allowlist_external_dirs.
example: /opt/images/logo.png example: /opt/images/logo.png
selector: selector:
text: text:

View File

@ -0,0 +1,18 @@
{
"services": {
"turn_on": {
"name": "Turn on",
"description": "Sets the light RGB to the predominant color found in the image provided by URL or file path.",
"fields": {
"color_extract_url": {
"name": "URL",
"description": "The URL of the image we want to extract RGB values from. Must be allowed in allowlist_external_urls."
},
"color_extract_path": {
"name": "Path",
"description": "The full system path to the image we want to extract RGB values from. Must be allowed in allowlist_external_dirs."
}
}
}
}
}

View File

@ -1,3 +1 @@
reload: reload:
name: Reload
description: Reload all command_line entities

View File

@ -4,5 +4,11 @@
"title": "Command Line YAML configuration has moved", "title": "Command Line YAML configuration has moved",
"description": "Configuring Command Line `{platform}` using YAML has moved.\n\nConsult the documentation to move your YAML configuration to integration key and restart Home Assistant to fix this issue." "description": "Configuring Command Line `{platform}` using YAML has moved.\n\nConsult the documentation to move your YAML configuration to integration key and restart Home Assistant to fix this issue."
} }
},
"services": {
"reload": {
"name": "Reload",
"description": "Reloads command line configuration from the YAML-configuration."
}
} }
} }

View File

@ -1,37 +1,27 @@
# Describes the format for available counter services # Describes the format for available counter services
decrement: decrement:
name: Decrement
description: Decrement a counter.
target: target:
entity: entity:
domain: counter domain: counter
increment: increment:
name: Increment
description: Increment a counter.
target: target:
entity: entity:
domain: counter domain: counter
reset: reset:
name: Reset
description: Reset a counter.
target: target:
entity: entity:
domain: counter domain: counter
set_value: set_value:
name: Set
description: Set the counter value
target: target:
entity: entity:
domain: counter domain: counter
fields: fields:
value: value:
name: Value
required: true required: true
description: The new counter value the entity should be set to.
selector: selector:
number: number:
min: 0 min: 0

View File

@ -38,5 +38,29 @@
} }
} }
} }
},
"services": {
"decrement": {
"name": "Decrement",
"description": "Decrements a counter."
},
"increment": {
"name": "Increment",
"description": "Increments a counter."
},
"reset": {
"name": "Reset",
"description": "Resets a counter."
},
"set_value": {
"name": "Set",
"description": "Sets the counter value.",
"fields": {
"value": {
"name": "Value",
"description": "The new counter value the entity should be set to."
}
}
}
} }
} }

View File

@ -1,4 +1,2 @@
# Describes the format for available Remote Python Debugger services # Describes the format for available Remote Python Debugger services
start: start:
name: Start
description: Start the Remote Python Debugger

View File

@ -0,0 +1,8 @@
{
"services": {
"start": {
"name": "Start",
"description": "Starts the Remote Python Debugger."
}
}
}

View File

@ -1,65 +1,33 @@
configure: configure:
name: Configure
description: >-
Configure attributes of either a device endpoint in deCONZ
or the deCONZ service itself.
fields: fields:
entity: entity:
name: Entity
description: Represents a specific device endpoint in deCONZ.
selector: selector:
entity: entity:
integration: deconz integration: deconz
field: field:
name: Path
description: >-
String representing a full path to deCONZ endpoint (when
entity is not specified) or a subpath of the device path for the
entity (when entity is specified).
example: '"/lights/1/state" or "/state"' example: '"/lights/1/state" or "/state"'
selector: selector:
text: text:
data: data:
name: Configuration payload
description: JSON object with what data you want to alter.
required: true required: true
example: '{"on": true}' example: '{"on": true}'
selector: selector:
object: object:
bridgeid: bridgeid:
name: Bridge identifier
description: >-
Unique string for each deCONZ hardware.
It can be found as part of the integration name.
Useful if you run multiple deCONZ integrations.
example: "00212EFFFF012345" example: "00212EFFFF012345"
selector: selector:
text: text:
device_refresh: device_refresh:
name: Device refresh
description: Refresh available devices from deCONZ.
fields: fields:
bridgeid: bridgeid:
name: Bridge identifier
description: >-
Unique string for each deCONZ hardware.
It can be found as part of the integration name.
Useful if you run multiple deCONZ integrations.
example: "00212EFFFF012345" example: "00212EFFFF012345"
selector: selector:
text: text:
remove_orphaned_entries: remove_orphaned_entries:
name: Remove orphaned entries
description: Clean up device and entity registry entries orphaned by deCONZ.
fields: fields:
bridgeid: bridgeid:
name: Bridge identifier
description: >-
Unique string for each deCONZ hardware.
It can be found as part of the integration name.
Useful if you run multiple deCONZ integrations.
example: "00212EFFFF012345" example: "00212EFFFF012345"
selector: selector:
text: text:

View File

@ -105,5 +105,49 @@
"side_5": "Side 5", "side_5": "Side 5",
"side_6": "Side 6" "side_6": "Side 6"
} }
},
"services": {
"configure": {
"name": "Configure",
"description": "Configures attributes of either a device endpoint in deCONZ or the deCONZ service itself.",
"fields": {
"entity": {
"name": "Entity",
"description": "Represents a specific device endpoint in deCONZ."
},
"field": {
"name": "Path",
"description": "String representing a full path to deCONZ endpoint (when entity is not specified) or a subpath of the device path for the entity (when entity is specified)."
},
"data": {
"name": "Configuration payload",
"description": "JSON object with what data you want to alter."
},
"bridgeid": {
"name": "Bridge identifier",
"description": "Unique string for each deCONZ hardware. It can be found as part of the integration name. Useful if you run multiple deCONZ integrations."
}
}
},
"device_refresh": {
"name": "Device refresh",
"description": "Refreshes available devices from deCONZ.",
"fields": {
"bridgeid": {
"name": "Bridge identifier",
"description": "Unique string for each deCONZ hardware. It can be found as part of the integration name. Useful if you run multiple deCONZ integrations."
}
}
},
"remove_orphaned_entries": {
"name": "Remove orphaned entries",
"description": "Cleans up device and entity registry entries orphaned by deCONZ.",
"fields": {
"bridgeid": {
"name": "Bridge identifier",
"description": "Unique string for each deCONZ hardware. It can be found as part of the integration name. Useful if you run multiple deCONZ integrations."
}
}
}
} }
} }

View File

@ -1,36 +1,27 @@
# Describes the format for available denonavr services # Describes the format for available denonavr services
get_command: get_command:
name: Get command
description: "Send a generic HTTP get command."
target: target:
entity: entity:
integration: denonavr integration: denonavr
domain: media_player domain: media_player
fields: fields:
command: command:
name: Command
description: Endpoint of the command, including associated parameters.
example: "/goform/formiPhoneAppDirect.xml?RCKSK0410370" example: "/goform/formiPhoneAppDirect.xml?RCKSK0410370"
required: true required: true
selector: selector:
text: text:
set_dynamic_eq: set_dynamic_eq:
name: Set dynamic equalizer
description: "Enable or disable DynamicEQ."
target: target:
entity: entity:
integration: denonavr integration: denonavr
domain: media_player domain: media_player
fields: fields:
dynamic_eq: dynamic_eq:
description: "True/false for enable/disable."
default: true default: true
selector: selector:
boolean: boolean:
update_audyssey: update_audyssey:
name: Update audyssey
description: "Update Audyssey settings."
target: target:
entity: entity:
integration: denonavr integration: denonavr

View File

@ -46,5 +46,31 @@
} }
} }
} }
},
"services": {
"get_command": {
"name": "Get command",
"description": "Send sa generic HTTP get command.",
"fields": {
"command": {
"name": "Command",
"description": "Endpoint of the command, including associated parameters."
}
}
},
"set_dynamic_eq": {
"name": "Set dynamic equalizer",
"description": "Enables or disables DynamicEQ.",
"fields": {
"dynamic_eq": {
"name": "Dynamic equalizer",
"description": "True/false for enable/disable."
}
}
},
"update_audyssey": {
"name": "Update Audyssey",
"description": "Updates Audyssey settings."
}
} }
} }

View File

@ -1,10 +1,6 @@
order: order:
name: Order
description: Places a set of orders with Dominos Pizza.
fields: fields:
order_entity_id: order_entity_id:
name: Order Entity
description: The ID (as specified in the configuration) of an order to place. If provided as an array, all of the identified orders will be placed.
example: dominos.medium_pan example: dominos.medium_pan
selector: selector:
text: text:

View File

@ -0,0 +1,14 @@
{
"services": {
"order": {
"name": "Order",
"description": "Places a set of orders with Dominos Pizza.",
"fields": {
"order_entity_id": {
"name": "Order entity",
"description": "The ID (as specified in the configuration) of an order to place. If provided as an array, all of the identified orders will be placed."
}
}
}
}
}

View File

@ -1,29 +1,19 @@
download_file: download_file:
name: Download file
description: Download a file to the download location.
fields: fields:
url: url:
name: URL
description: The URL of the file to download.
required: true required: true
example: "http://example.org/myfile" example: "http://example.org/myfile"
selector: selector:
text: text:
subdir: subdir:
name: Subdirectory
description: Download into subdirectory.
example: "download_dir" example: "download_dir"
selector: selector:
text: text:
filename: filename:
name: Filename
description: Determine the filename.
example: "my_file_name" example: "my_file_name"
selector: selector:
text: text:
overwrite: overwrite:
name: Overwrite
description: Whether to overwrite the file or not.
default: false default: false
selector: selector:
boolean: boolean:

View File

@ -0,0 +1,26 @@
{
"services": {
"download_file": {
"name": "Download file",
"description": "Downloads a file to the download location.",
"fields": {
"url": {
"name": "URL",
"description": "The URL of the file to download."
},
"subdir": {
"name": "Subdirectory",
"description": "Download into subdirectory."
},
"filename": {
"name": "Filename",
"description": "Determine the filename."
},
"overwrite": {
"name": "Overwrite",
"description": "Whether to overwrite the file or not."
}
}
}
}
}

View File

@ -1,10 +1,6 @@
set_txt: set_txt:
name: Set TXT
description: Set the TXT record of your DuckDNS subdomain.
fields: fields:
txt: txt:
name: TXT
description: Payload for the TXT record.
required: true required: true
example: "This domain name is reserved for use in documentation" example: "This domain name is reserved for use in documentation"
selector: selector:

View File

@ -0,0 +1,14 @@
{
"services": {
"set_txt": {
"name": "Set TXT",
"description": "Sets the TXT record of your DuckDNS subdomain.",
"fields": {
"txt": {
"name": "TXT",
"description": "Payload for the TXT record."
}
}
}
}
}

View File

@ -1,21 +1,16 @@
request_area_preset: request_area_preset:
name: Request area preset
description: "Requests Dynalite to report the preset for an area."
fields: fields:
host: host:
description: "Host gateway IP to send to or all configured gateways if not specified."
example: "192.168.0.101" example: "192.168.0.101"
selector: selector:
text: text:
area: area:
description: "Area to request the preset reported"
required: true required: true
selector: selector:
number: number:
min: 1 min: 1
max: 9999 max: 9999
channel: channel:
description: "Channel to request the preset to be reported from."
default: 1 default: 1
selector: selector:
number: number:
@ -23,26 +18,18 @@ request_area_preset:
max: 9999 max: 9999
request_channel_level: request_channel_level:
name: Request channel level
description: "Requests Dynalite to report the level of a specific channel."
fields: fields:
host: host:
name: Host
description: "Host gateway IP to send to or all configured gateways if not specified."
example: "192.168.0.101" example: "192.168.0.101"
selector: selector:
text: text:
area: area:
name: Area
description: "Area for the requested channel"
required: true required: true
selector: selector:
number: number:
min: 1 min: 1
max: 9999 max: 9999
channel: channel:
name: Channel
description: "Channel to request the level for."
required: true required: true
selector: selector:
number: number:

View File

@ -14,5 +14,43 @@
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]", "already_configured": "[%key:common::config_flow::abort::already_configured_device%]",
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]" "cannot_connect": "[%key:common::config_flow::error::cannot_connect%]"
} }
},
"services": {
"request_area_preset": {
"name": "Request area preset",
"description": "Requests Dynalite to report the preset for an area.",
"fields": {
"host": {
"name": "Host",
"description": "Host gateway IP to send to or all configured gateways if not specified."
},
"area": {
"name": "Area",
"description": "Area to request the preset reported."
},
"channel": {
"name": "Channel",
"description": "Channel to request the preset to be reported from."
}
}
},
"request_channel_level": {
"name": "Request channel level",
"description": "Requests Dynalite to report the level of a specific channel.",
"fields": {
"host": {
"name": "Host",
"description": "Host gateway IP to send to or all configured gateways if not specified."
},
"area": {
"name": "Area",
"description": "Area for the requested channel."
},
"channel": {
"name": "Channel",
"description": "Channel to request the level for."
}
}
}
} }
} }