Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions homeassistant/components/wake_on_lan/services.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,15 @@
send_magic_packet:
name: Send magic packet
description: Send a 'magic packet' to wake up a device with 'Wake-On-LAN' capabilities.
fields:
mac:
name: MAC address
description: MAC address of the device to wake up.
required: true
example: "aa:bb:cc:dd:ee:ff"
selector:
text:
broadcast_address:
name: Broadcast address
description: Broadcast IP where to send the magic packet.
example: 192.168.255.255
selector:
text:
broadcast_port:
name: Broadcast port
description: Port where to send the magic packet.
default: 9
selector:
number:
Expand Down
22 changes: 22 additions & 0 deletions homeassistant/components/wake_on_lan/strings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"services": {
"send_magic_packet": {
"name": "Send magic packet",
"description": "Sends a 'magic packet' to wake up a device with 'Wake-On-LAN' capabilities.",
"fields": {
"mac": {
"name": "MAC address",
"description": "MAC address of the device to wake up."
},
"broadcast_address": {
"name": "Broadcast address",
"description": "Broadcast IP where to send the magic packet."
},
"broadcast_port": {
"name": "Broadcast port",
"description": "Port where to send the magic packet."
}
}
}
}
}
25 changes: 0 additions & 25 deletions homeassistant/components/webostv/services.yaml
Original file line number Diff line number Diff line change
@@ -1,73 +1,48 @@
# Describes the format for available webostv services

button:
name: Button
description: "Send a button press command."
fields:
entity_id:
name: Entity
description: Name(s) of the webostv entities where to run the API method.
required: true
selector:
entity:
integration: webostv
domain: media_player
button:
name: Button
description: >-
Name of the button to press. Known possible values are
LEFT, RIGHT, DOWN, UP, HOME, MENU, BACK, ENTER, DASH, INFO, ASTERISK, CC, EXIT,
MUTE, RED, GREEN, BLUE, YELLOW, VOLUMEUP, VOLUMEDOWN, CHANNELUP, CHANNELDOWN,
PLAY, PAUSE, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
required: true
example: "LEFT"
selector:
text:

command:
name: Command
description: "Send a command."
fields:
entity_id:
name: Entity
description: Name(s) of the webostv entities where to run the API method.
required: true
selector:
entity:
integration: webostv
domain: media_player
command:
name: Command
description: Endpoint of the command.
required: true
example: "system.launcher/open"
selector:
text:
payload:
name: Payload
description: >-
An optional payload to provide to the endpoint in the format of key value pair(s).
example: >-
target: https://www.google.com
advanced: true
selector:
object:

select_sound_output:
name: Select Sound Output
description: "Send the TV the command to change sound output."
fields:
entity_id:
name: Entity
description: Name(s) of the webostv entities to change sound output on.
required: true
selector:
entity:
integration: webostv
domain: media_player
sound_output:
name: Sound Output
description: Name of the sound output to switch to.
required: true
example: "external_speaker"
selector:
Expand Down
48 changes: 48 additions & 0 deletions homeassistant/components/webostv/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,53 @@
"trigger_type": {
"webostv.turn_on": "Device is requested to turn on"
}
},
"services": {
"button": {
"name": "Button",
"description": "Sends a button press command.",
"fields": {
"entity_id": {
"name": "Entity",
"description": "Name(s) of the webostv entities where to run the API method."
},
"button": {
"name": "Button",
"description": "Name of the button to press. Known possible values are LEFT, RIGHT, DOWN, UP, HOME, MENU, BACK, ENTER, DASH, INFO, ASTERISK, CC, EXIT, MUTE, RED, GREEN, BLUE, YELLOW, VOLUMEUP, VOLUMEDOWN, CHANNELUP, CHANNELDOWN, PLAY, PAUSE, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9."
}
}
},
"command": {
"name": "Command",
"description": "Sends a command.",
"fields": {
"entity_id": {
"name": "Entity",
"description": "Name(s) of the webostv entities where to run the API method."
},
"command": {
"name": "Command",
"description": "Endpoint of the command."
},
"payload": {
"name": "Payload",
"description": "An optional payload to provide to the endpoint in the format of key value pair(s)."
}
}
},
"select_sound_output": {
"name": "Select sound output",
"description": "Sends the TV the command to change sound output.",
"fields": {
"entity_id": {
"name": "Entity",
"description": "Name(s) of the webostv entities to change sound output on."
},
"sound_output": {
"name": "Sound output",
"description": "Name of the sound output to switch to."
}
}
}
}
}
6 changes: 0 additions & 6 deletions homeassistant/components/wemo/services.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
set_humidity:
name: Set humidity
description: Set the target humidity of WeMo humidifier devices.
target:
entity:
integration: wemo
domain: fan
fields:
target_humidity:
name: Target humidity
description: Target humidity.
required: true
selector:
number:
Expand All @@ -18,8 +14,6 @@ set_humidity:
unit_of_measurement: "%"

reset_filter_life:
name: Reset filter life
description: Reset the WeMo Humidifier's filter life to 100%.
target:
entity:
integration: wemo
Expand Down
16 changes: 16 additions & 0 deletions homeassistant/components/wemo/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,21 @@
"trigger_type": {
"long_press": "Wemo button was pressed for 2 seconds"
}
},
"services": {
"set_humidity": {
"name": "Set humidity",
"description": "Sets the target humidity of WeMo humidifier devices.",
"fields": {
"target_humidity": {
"name": "Target humidity",
"description": "Target humidity."
}
}
},
"reset_filter_life": {
"name": "Reset filter life",
"description": "Resets the WeMo Humidifier's filter life to 100%."
}
}
}
14 changes: 0 additions & 14 deletions homeassistant/components/wilight/services.yaml
Original file line number Diff line number Diff line change
@@ -1,31 +1,17 @@
set_watering_time:
name: Set watering time
description: Sets time for watering
target:
fields:
watering_time:
name: Duration
description: Duration for this irrigation to be turned on.
example: 30
set_pause_time:
name: Set pause time
description: Sets time to pause.
target:
fields:
pause_time:
name: Duration
description: Duration for this irrigation to be paused.
example: 24
set_trigger:
name: Set trigger
description: Set the trigger to use.
target:
fields:
trigger_index:
name: Trigger index
description: Index of Trigger from 1 to 4
example: "1"
trigger:
name: Trigger rules
description: Configuration of trigger.
example: "'12707001'"
36 changes: 36 additions & 0 deletions homeassistant/components/wilight/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,41 @@
"not_supported_device": "This WiLight is currently not supported",
"not_wilight_device": "This Device is not WiLight"
}
},
"services": {
"set_watering_time": {
"name": "Set watering time",
"description": "Sets time for watering.",
"fields": {
"watering_time": {
"name": "Duration",
"description": "Duration for this irrigation to be turned on."
}
}
},
"set_pause_time": {
"name": "Set pause time",
"description": "Sets time to pause.",
"fields": {
"pause_time": {
"name": "Duration",
"description": "Duration for this irrigation to be paused."
}
}
},
"set_trigger": {
"name": "Set trigger",
"description": "Sets the trigger to use.",
"fields": {
"trigger_index": {
"name": "Trigger index",
"description": "Index of Trigger from 1 to 4."
},
"trigger": {
"name": "Trigger rules",
"description": "Configuration of trigger."
}
}
}
}
}
16 changes: 0 additions & 16 deletions homeassistant/components/wled/services.yaml
Original file line number Diff line number Diff line change
@@ -1,55 +1,39 @@
effect:
name: Set effect
description: Control the effect settings of WLED.
target:
entity:
integration: wled
domain: light
fields:
effect:
name: Effect
description: Name or ID of the WLED light effect.
example: "Rainbow"
selector:
text:
intensity:
name: Effect intensity
description: Intensity of the effect. Number between 0 and 255.
selector:
number:
min: 0
max: 255
palette:
name: Color palette
description: Name or ID of the WLED light palette.
example: "Tiamat"
selector:
text:
speed:
name: Effect speed
description: Speed of the effect.
selector:
number:
min: 0
max: 255
reverse:
name: Reverse effect
description: Reverse the effect. Either true to reverse or false otherwise.
default: false
selector:
boolean:

preset:
name: Set preset (deprecated)
description: Set a preset for the WLED device.
target:
entity:
integration: wled
domain: light
fields:
preset:
name: Preset ID
description: ID of the WLED preset
selector:
number:
min: -1
Expand Down
38 changes: 38 additions & 0 deletions homeassistant/components/wled/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,43 @@
}
}
}
},
"services": {
"effect": {
"name": "Set effect",
"description": "Controls the effect settings of WLED.",
"fields": {
"effect": {
"name": "Effect",
"description": "Name or ID of the WLED light effect."
},
"intensity": {
"name": "Effect intensity",
"description": "Intensity of the effect. Number between 0 and 255."
},
"palette": {
"name": "Color palette",
"description": "Name or ID of the WLED light palette."
},
"speed": {
"name": "Effect speed",
"description": "Speed of the effect."
},
"reverse": {
"name": "Reverse effect",
"description": "Reverse the effect. Either true to reverse or false otherwise."
}
}
},
"preset": {
"name": "Set preset (deprecated)",
"description": "Sets a preset for the WLED device.",
"fields": {
"preset": {
"name": "Preset ID",
"description": "ID of the WLED preset."
}
}
}
}
}
Loading