From bfd84ba89c25d432b1b8be946118214c6681e01e Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Wed, 30 Mar 2022 09:48:06 +0200 Subject: [PATCH] Prettify yaml (services.yaml) (#68878) --- homeassistant/components/ads/services.yaml | 12 +-- .../components/amcrest/services.yaml | 26 ++--- homeassistant/components/bond/services.yaml | 1 - .../components/browser/services.yaml | 3 +- .../components/eight_sleep/services.yaml | 2 +- homeassistant/components/elkm1/services.yaml | 4 +- .../components/evohome/services.yaml | 12 +-- homeassistant/components/ezviz/services.yaml | 14 +-- homeassistant/components/flo/services.yaml | 10 +- .../components/flux_led/services.yaml | 8 +- homeassistant/components/foscam/services.yaml | 16 +-- .../components/geniushub/services.yaml | 8 +- .../components/hdmi_cec/services.yaml | 6 +- .../components/homematic/services.yaml | 10 +- .../homematicip_cloud/services.yaml | 2 +- .../components/humidifier/services.yaml | 2 +- .../components/insteon/services.yaml | 100 +++++++++--------- homeassistant/components/kef/services.yaml | 10 +- homeassistant/components/lifx/services.yaml | 14 +-- homeassistant/components/light/services.yaml | 9 +- .../components/logi_circle/services.yaml | 4 +- .../components/media_extractor/services.yaml | 12 +-- homeassistant/components/mill/services.yaml | 6 +- homeassistant/components/mqtt/services.yaml | 3 +- homeassistant/components/nest/services.yaml | 4 +- .../components/netgear_lte/services.yaml | 12 +-- homeassistant/components/nexia/services.yaml | 24 ++--- homeassistant/components/nzbget/services.yaml | 2 +- homeassistant/components/ombi/services.yaml | 6 +- homeassistant/components/onvif/services.yaml | 22 ++-- .../components/opentherm_gw/services.yaml | 44 ++++---- .../components/rainmachine/services.yaml | 22 ++-- homeassistant/components/roon/services.yaml | 1 - homeassistant/components/scene/services.yaml | 6 +- .../components/simplisafe/services.yaml | 24 ++--- homeassistant/components/snips/services.yaml | 4 +- homeassistant/components/sonos/services.yaml | 3 +- .../components/squeezebox/services.yaml | 2 +- .../components/streamlabswater/services.yaml | 4 +- .../components/surepetcare/services.yaml | 12 +-- .../components/switcher_kis/services.yaml | 4 +- .../components/system_log/services.yaml | 3 +- homeassistant/components/tado/services.yaml | 6 +- .../components/template/services.yaml | 1 - homeassistant/components/upb/services.yaml | 6 +- homeassistant/components/vallox/services.yaml | 6 +- homeassistant/components/velbus/services.yaml | 8 +- homeassistant/components/vicare/services.yaml | 14 +-- homeassistant/components/wemo/services.yaml | 2 +- .../components/xiaomi_miio/services.yaml | 12 +-- .../components/yeelight/services.yaml | 28 ++--- 51 files changed, 282 insertions(+), 294 deletions(-) diff --git a/homeassistant/components/ads/services.yaml b/homeassistant/components/ads/services.yaml index f6458029fb498e..53c514bb587067 100644 --- a/homeassistant/components/ads/services.yaml +++ b/homeassistant/components/ads/services.yaml @@ -18,12 +18,12 @@ write_data_by_name: selector: select: options: - - 'bool' - - 'byte' - - 'dint' - - 'int' - - 'udint' - - 'uint' + - "bool" + - "byte" + - "dint" + - "int" + - "udint" + - "uint" value: name: Value description: The value to write to the variable. diff --git a/homeassistant/components/amcrest/services.yaml b/homeassistant/components/amcrest/services.yaml index 7baad96d6d56ac..b79a333101b2b7 100644 --- a/homeassistant/components/amcrest/services.yaml +++ b/homeassistant/components/amcrest/services.yaml @@ -99,9 +99,9 @@ set_color_bw: selector: select: options: - - 'auto' - - 'bw' - - 'color' + - "auto" + - "bw" + - "color" start_tour: name: Start tour @@ -142,16 +142,16 @@ ptz_control: selector: select: options: - - 'down' - - 'left' - - 'left_down' - - 'left_up' - - 'right' - - 'right_down' - - 'right_up' - - 'up' - - 'zoom_in' - - 'zoom_out' + - "down" + - "left" + - "left_down" + - "left_up" + - "right" + - "right_down" + - "right_up" + - "up" + - "zoom_in" + - "zoom_out" travel_time: name: Travel time description: "Travel time in fractional seconds: from 0 to 1." diff --git a/homeassistant/components/bond/services.yaml b/homeassistant/components/bond/services.yaml index 821f7156af661a..6be18eaa1ef5e9 100644 --- a/homeassistant/components/bond/services.yaml +++ b/homeassistant/components/bond/services.yaml @@ -115,4 +115,3 @@ stop: entity: integration: bond domain: light - diff --git a/homeassistant/components/browser/services.yaml b/homeassistant/components/browser/services.yaml index 1014e50db21204..dd3ddd095cc45c 100644 --- a/homeassistant/components/browser/services.yaml +++ b/homeassistant/components/browser/services.yaml @@ -1,7 +1,6 @@ browse_url: name: Browse - description: - Open a URL in the default browser on the host machine of Home Assistant. + description: Open a URL in the default browser on the host machine of Home Assistant. fields: url: name: URL diff --git a/homeassistant/components/eight_sleep/services.yaml b/homeassistant/components/eight_sleep/services.yaml index 537f04bd306fb8..de864afc160fca 100644 --- a/homeassistant/components/eight_sleep/services.yaml +++ b/homeassistant/components/eight_sleep/services.yaml @@ -27,4 +27,4 @@ heat_set: number: min: -100 max: 100 - unit_of_measurement: '°' + unit_of_measurement: "°" diff --git a/homeassistant/components/elkm1/services.yaml b/homeassistant/components/elkm1/services.yaml index 18608f3a476fd2..1f130416363102 100644 --- a/homeassistant/components/elkm1/services.yaml +++ b/homeassistant/components/elkm1/services.yaml @@ -112,14 +112,14 @@ alarm_display_message: name: Line 1 description: Up to 16 characters of text (truncated if too long). example: The answer to life. - default: '' + default: "" selector: text: line2: name: Line 2 description: Up to 16 characters of text (truncated if too long). example: the universe, and everything. - default: '' + default: "" selector: text: diff --git a/homeassistant/components/evohome/services.yaml b/homeassistant/components/evohome/services.yaml index bdcb116e4e3ca5..52428dd5e1ea7b 100644 --- a/homeassistant/components/evohome/services.yaml +++ b/homeassistant/components/evohome/services.yaml @@ -14,12 +14,12 @@ set_system_mode: selector: select: options: - - 'Auto' - - 'AutoWithEco' - - 'Away' - - 'Custom' - - 'DayOff' - - 'HeatingOff' + - "Auto" + - "AutoWithEco" + - "Away" + - "Custom" + - "DayOff" + - "HeatingOff" period: name: Period description: >- diff --git a/homeassistant/components/ezviz/services.yaml b/homeassistant/components/ezviz/services.yaml index 2635662e63656f..9733d7418a34e4 100644 --- a/homeassistant/components/ezviz/services.yaml +++ b/homeassistant/components/ezviz/services.yaml @@ -61,8 +61,8 @@ set_alarm_detection_sensibility: fields: level: name: Sensitivity Level - description: 'Sensibility level (1-6) for type 0 (Normal camera) - or (1-100) for type 3 (PIR sensor camera).' + description: "Sensibility level (1-6) for type 0 (Normal camera) + or (1-100) for type 3 (PIR sensor camera)." required: true example: 3 default: 3 @@ -74,15 +74,15 @@ set_alarm_detection_sensibility: mode: box type_value: name: Detection type - description: 'Type of detection. Options : 0 - Camera or 3 - PIR Sensor Camera' + description: "Type of detection. Options : 0 - Camera or 3 - PIR Sensor Camera" required: true - example: '0' - default: '0' + example: "0" + default: "0" selector: select: options: - - '0' - - '3' + - "0" + - "3" sound_alarm: name: Sound Alarm description: Sounds the alarm on your camera. diff --git a/homeassistant/components/flo/services.yaml b/homeassistant/components/flo/services.yaml index fb3dbb3ee0a7b1..a074ebafe9996b 100644 --- a/homeassistant/components/flo/services.yaml +++ b/homeassistant/components/flo/services.yaml @@ -15,9 +15,9 @@ set_sleep_mode: selector: select: options: - - '120' - - '1440' - - '4320' + - "120" + - "1440" + - "4320" revert_to_mode: name: Revert to mode description: The mode to revert to after sleep_minutes has elapsed. @@ -25,8 +25,8 @@ set_sleep_mode: selector: select: options: - - 'away' - - 'home' + - "away" + - "home" set_away_mode: name: Set away mode description: Set the location into away mode. diff --git a/homeassistant/components/flux_led/services.yaml b/homeassistant/components/flux_led/services.yaml index 8a16f4563112ec..b17d81f9174076 100644 --- a/homeassistant/components/flux_led/services.yaml +++ b/homeassistant/components/flux_led/services.yaml @@ -27,8 +27,8 @@ set_custom_effect: unit_of_measurement: "%" transition: description: Effect transition. - example: 'jump' - default: 'gradual' + example: "jump" + default: "gradual" required: false selector: select: @@ -66,8 +66,8 @@ set_zones: unit_of_measurement: "%" effect: description: Effect - example: 'running_water' - default: 'static' + example: "running_water" + default: "static" required: false selector: select: diff --git a/homeassistant/components/foscam/services.yaml b/homeassistant/components/foscam/services.yaml index 04dba8ccbaa07b..a7e5394802bbdc 100644 --- a/homeassistant/components/foscam/services.yaml +++ b/homeassistant/components/foscam/services.yaml @@ -12,14 +12,14 @@ ptz: selector: select: options: - - 'bottom_left' - - 'bottom_right' - - 'down' - - 'left' - - 'right' - - 'top_left' - - 'top_right' - - 'up' + - "bottom_left" + - "bottom_right" + - "down" + - "left" + - "right" + - "top_left" + - "top_right" + - "up" travel_time: description: "Travel time in seconds." default: 0.125 diff --git a/homeassistant/components/geniushub/services.yaml b/homeassistant/components/geniushub/services.yaml index 1edcf243cc0adc..7d4cd14b19e9c0 100644 --- a/homeassistant/components/geniushub/services.yaml +++ b/homeassistant/components/geniushub/services.yaml @@ -21,9 +21,9 @@ set_zone_mode: selector: select: options: - - 'off' - - 'timer' - - 'footprint' + - "off" + - "timer" + - "footprint" set_zone_override: name: Set zone override @@ -47,7 +47,7 @@ set_zone_override: min: 4 max: 28 step: 0.1 - unit_of_measurement: '°' + unit_of_measurement: "°" duration: name: Duration description: >- diff --git a/homeassistant/components/hdmi_cec/services.yaml b/homeassistant/components/hdmi_cec/services.yaml index 943450a6796f7b..7ad8b36473f859 100644 --- a/homeassistant/components/hdmi_cec/services.yaml +++ b/homeassistant/components/hdmi_cec/services.yaml @@ -72,9 +72,9 @@ volume: selector: select: options: - - 'off' - - 'on' - - 'toggle' + - "off" + - "on" + - "toggle" up: name: Up description: Increases volume x levels. diff --git a/homeassistant/components/homematic/services.yaml b/homeassistant/components/homematic/services.yaml index 15099c790fbf83..28b6577cdf9dfb 100644 --- a/homeassistant/components/homematic/services.yaml +++ b/homeassistant/components/homematic/services.yaml @@ -103,11 +103,11 @@ set_device_value: selector: select: options: - - 'boolean' - - 'dateTime.iso8601' - - 'double' - - 'int' - - 'string' + - "boolean" + - "dateTime.iso8601" + - "double" + - "int" + - "string" reconnect: name: Reconnect diff --git a/homeassistant/components/homematicip_cloud/services.yaml b/homeassistant/components/homematicip_cloud/services.yaml index ae8a6f3404912f..ebb83a0845f5d3 100644 --- a/homeassistant/components/homematicip_cloud/services.yaml +++ b/homeassistant/components/homematicip_cloud/services.yaml @@ -59,7 +59,7 @@ activate_vacation: min: 0 max: 55 step: 0.5 - unit_of_measurement: '°' + unit_of_measurement: "°" accesspoint_id: name: Accesspoint ID description: The ID of the Homematic IP Access Point diff --git a/homeassistant/components/humidifier/services.yaml b/homeassistant/components/humidifier/services.yaml index c05dad680a3a63..9c1b748c9acadc 100644 --- a/homeassistant/components/humidifier/services.yaml +++ b/homeassistant/components/humidifier/services.yaml @@ -10,7 +10,7 @@ set_mode: mode: description: New mode required: true - example: 'away' + example: "away" selector: text: diff --git a/homeassistant/components/insteon/services.yaml b/homeassistant/components/insteon/services.yaml index 21bc0f535f616e..c2cd5ee9d25c92 100644 --- a/homeassistant/components/insteon/services.yaml +++ b/homeassistant/components/insteon/services.yaml @@ -17,8 +17,8 @@ add_all_link: selector: select: options: - - 'controller' - - 'responder' + - "controller" + - "responder" delete_all_link: name: Delete all link description: Tells the Insteon Modem (IM) to remove an All-Link record from the All-Link Database of the IM and a device. Once the IM is set to delete the link, press the link button on the corresponding device to complete the process. @@ -73,22 +73,22 @@ x10_all_units_off: selector: select: options: - - 'a' - - 'b' - - 'c' - - 'd' - - 'e' - - 'f' - - 'g' - - 'h' - - 'i' - - 'j' - - 'k' - - 'l' - - 'm' - - 'n' - - 'o' - - 'p' + - "a" + - "b" + - "c" + - "d" + - "e" + - "f" + - "g" + - "h" + - "i" + - "j" + - "k" + - "l" + - "m" + - "n" + - "o" + - "p" x10_all_lights_on: name: X10 all lights on description: Send X10 All Lights On command @@ -100,22 +100,22 @@ x10_all_lights_on: selector: select: options: - - 'a' - - 'b' - - 'c' - - 'd' - - 'e' - - 'f' - - 'g' - - 'h' - - 'i' - - 'j' - - 'k' - - 'l' - - 'm' - - 'n' - - 'o' - - 'p' + - "a" + - "b" + - "c" + - "d" + - "e" + - "f" + - "g" + - "h" + - "i" + - "j" + - "k" + - "l" + - "m" + - "n" + - "o" + - "p" x10_all_lights_off: name: X10 all lights off description: Send X10 All Lights Off command @@ -127,22 +127,22 @@ x10_all_lights_off: selector: select: options: - - 'a' - - 'b' - - 'c' - - 'd' - - 'e' - - 'f' - - 'g' - - 'h' - - 'i' - - 'j' - - 'k' - - 'l' - - 'm' - - 'n' - - 'o' - - 'p' + - "a" + - "b" + - "c" + - "d" + - "e" + - "f" + - "g" + - "h" + - "i" + - "j" + - "k" + - "l" + - "m" + - "n" + - "o" + - "p" scene_on: name: Scene on description: Trigger an INSTEON scene to turn ON. diff --git a/homeassistant/components/kef/services.yaml b/homeassistant/components/kef/services.yaml index 291a8f45cdb701..cf364edcf217a5 100644 --- a/homeassistant/components/kef/services.yaml +++ b/homeassistant/components/kef/services.yaml @@ -41,17 +41,17 @@ set_mode: selector: select: options: - - '-' - - '+' + - "-" + - "+" bass_extension: name: Base extension description: Bass extension. selector: select: options: - - 'Less' - - 'Standard' - - 'Extra' + - "Less" + - "Standard" + - "Extra" set_desk_db: name: Set desk dB diff --git a/homeassistant/components/lifx/services.yaml b/homeassistant/components/lifx/services.yaml index e5a1cf4b5d81eb..e499ad1b3b8863 100644 --- a/homeassistant/components/lifx/services.yaml +++ b/homeassistant/components/lifx/services.yaml @@ -47,11 +47,11 @@ effect_pulse: selector: select: options: - - 'blink' - - 'breathe' - - 'ping' - - 'strobe' - - 'solid' + - "blink" + - "breathe" + - "ping" + - "strobe" + - "solid" brightness: name: Brightness description: Number indicating brightness of the temporary color. @@ -129,7 +129,7 @@ effect_colorloop: number: min: 0 max: 360 - unit_of_measurement: '°' + unit_of_measurement: "°" spread: name: Spread description: Maximum hue difference between participating lights, in degrees on a color wheel. @@ -138,7 +138,7 @@ effect_colorloop: number: min: 0 max: 360 - unit_of_measurement: '°' + unit_of_measurement: "°" power_on: name: Power on description: Powered off lights are temporarily turned on during the effect. diff --git a/homeassistant/components/light/services.yaml b/homeassistant/components/light/services.yaml index 572fe9e28fb3b8..06349c7203550c 100644 --- a/homeassistant/components/light/services.yaml +++ b/homeassistant/components/light/services.yaml @@ -225,8 +225,7 @@ turn_on: unit_of_measurement: K brightness: name: Brightness value - description: - Number indicating brightness, where 0 turns the light + description: Number indicating brightness, where 0 turns the light off, 1 is the minimum brightness and 255 is the maximum brightness supported by the light. advanced: true @@ -236,8 +235,7 @@ turn_on: max: 255 brightness_pct: name: Brightness - description: - Number indicating percentage of full brightness, where 0 + description: Number indicating percentage of full brightness, where 0 turns the light off, 1 is the minimum brightness and 100 is the maximum brightness supported by the light. selector: @@ -553,8 +551,7 @@ toggle: max: 255 brightness_pct: name: Brightness - description: - Number indicating percentage of full brightness, where 0 + description: Number indicating percentage of full brightness, where 0 turns the light off, 1 is the minimum brightness and 100 is the maximum brightness supported by the light. selector: diff --git a/homeassistant/components/logi_circle/services.yaml b/homeassistant/components/logi_circle/services.yaml index 248701a5d45ab0..10df6c564b481d 100644 --- a/homeassistant/components/logi_circle/services.yaml +++ b/homeassistant/components/logi_circle/services.yaml @@ -18,8 +18,8 @@ set_config: selector: select: options: - - 'LED' - - 'RECORDING_MODE' + - "LED" + - "RECORDING_MODE" value: name: Value description: "Operation value." diff --git a/homeassistant/components/media_extractor/services.yaml b/homeassistant/components/media_extractor/services.yaml index 5b1f86e9dfeab6..0b7295bd7bfcf9 100644 --- a/homeassistant/components/media_extractor/services.yaml +++ b/homeassistant/components/media_extractor/services.yaml @@ -19,9 +19,9 @@ play_media: selector: select: options: - - 'CHANNEL' - - 'EPISODE' - - 'PLAYLIST MUSIC' - - 'MUSIC' - - 'TVSHOW' - - 'VIDEO' + - "CHANNEL" + - "EPISODE" + - "PLAYLIST MUSIC" + - "MUSIC" + - "TVSHOW" + - "VIDEO" diff --git a/homeassistant/components/mill/services.yaml b/homeassistant/components/mill/services.yaml index 6d475243dd5efe..ad5cff4a5ff1b0 100644 --- a/homeassistant/components/mill/services.yaml +++ b/homeassistant/components/mill/services.yaml @@ -16,7 +16,7 @@ set_room_temperature: number: min: 0 max: 100 - unit_of_measurement: '°' + unit_of_measurement: "°" comfort_temp: name: Comfort temperature description: Comfort temp. @@ -24,7 +24,7 @@ set_room_temperature: number: min: 0 max: 100 - unit_of_measurement: '°' + unit_of_measurement: "°" sleep_temp: name: Sleep temperature description: Sleep temp. @@ -32,4 +32,4 @@ set_room_temperature: number: min: 0 max: 100 - unit_of_measurement: '°' + unit_of_measurement: "°" diff --git a/homeassistant/components/mqtt/services.yaml b/homeassistant/components/mqtt/services.yaml index 7b57570a3efe44..07507035c57eff 100644 --- a/homeassistant/components/mqtt/services.yaml +++ b/homeassistant/components/mqtt/services.yaml @@ -19,8 +19,7 @@ publish: text: payload_template: name: Payload Template - description: - Template to render as payload value. Ignored if payload given. + description: Template to render as payload value. Ignored if payload given. advanced: true example: "{{ states('sensor.temperature') }}" selector: diff --git a/homeassistant/components/nest/services.yaml b/homeassistant/components/nest/services.yaml index 98aacf6052426a..24b7290668fb03 100644 --- a/homeassistant/components/nest/services.yaml +++ b/homeassistant/components/nest/services.yaml @@ -11,8 +11,8 @@ set_away_mode: selector: select: options: - - 'away' - - 'home' + - "away" + - "home" structure: name: Structure description: Name(s) of structure(s) to change. Defaults to all structures if not specified. diff --git a/homeassistant/components/netgear_lte/services.yaml b/homeassistant/components/netgear_lte/services.yaml index a708287612b907..bed9647a1b7d2c 100644 --- a/homeassistant/components/netgear_lte/services.yaml +++ b/homeassistant/components/netgear_lte/services.yaml @@ -32,18 +32,18 @@ set_option: selector: select: options: - - 'auto' - - 'mobile' - - 'wire' + - "auto" + - "mobile" + - "wire" autoconnect: name: Auto-connect description: Auto-connect mode. selector: select: options: - - 'always' - - 'home' - - 'never' + - "always" + - "home" + - "never" connect_lte: name: Connect LTE diff --git a/homeassistant/components/nexia/services.yaml b/homeassistant/components/nexia/services.yaml index 78cf889f978f18..0deb5225cd3985 100644 --- a/homeassistant/components/nexia/services.yaml +++ b/homeassistant/components/nexia/services.yaml @@ -8,14 +8,14 @@ set_aircleaner_mode: fields: aircleaner_mode: name: Air cleaner mode - description: 'The air cleaner mode to set.' + description: "The air cleaner mode to set." required: true selector: select: options: - - 'allergy' - - 'auto' - - 'quick' + - "allergy" + - "auto" + - "quick" set_humidify_setpoint: name: Set humidify set point @@ -33,7 +33,7 @@ set_humidify_setpoint: number: min: 35 max: 65 - unit_of_measurement: '%' + unit_of_measurement: "%" set_hvac_run_mode: name: Set hvac run mode @@ -45,20 +45,20 @@ set_hvac_run_mode: fields: run_mode: name: Run mode - description: 'Run the schedule or hold. If not specified, the current run mode will be used.' + description: "Run the schedule or hold. If not specified, the current run mode will be used." required: false selector: select: options: - - 'permanent_hold' - - 'run_schedule' + - "permanent_hold" + - "run_schedule" hvac_mode: name: Hvac mode - description: 'The hvac mode to use for the schedule or hold. If not specified, the current hvac mode will be used.' + description: "The hvac mode to use for the schedule or hold. If not specified, the current hvac mode will be used." required: false selector: select: options: - - 'auto' - - 'cool' - - 'heat' + - "auto" + - "cool" + - "heat" diff --git a/homeassistant/components/nzbget/services.yaml b/homeassistant/components/nzbget/services.yaml index 8fe8780dce9d75..46439b761e1c28 100644 --- a/homeassistant/components/nzbget/services.yaml +++ b/homeassistant/components/nzbget/services.yaml @@ -20,4 +20,4 @@ set_speed: number: min: 0 max: 1000000 - unit_of_measurement: 'kB/s' + unit_of_measurement: "kB/s" diff --git a/homeassistant/components/ombi/services.yaml b/homeassistant/components/ombi/services.yaml index 5a44c7bba027e0..d7e7068e84c1e9 100644 --- a/homeassistant/components/ombi/services.yaml +++ b/homeassistant/components/ombi/services.yaml @@ -29,9 +29,9 @@ submit_tv_request: selector: select: options: - - 'all' - - 'first' - - 'latest' + - "all" + - "first" + - "latest" submit_music_request: name: Submit music request diff --git a/homeassistant/components/onvif/services.yaml b/homeassistant/components/onvif/services.yaml index 83b2d112d2db48..9d753b2fe77b4d 100644 --- a/homeassistant/components/onvif/services.yaml +++ b/homeassistant/components/onvif/services.yaml @@ -12,24 +12,24 @@ ptz: selector: select: options: - - 'DOWN' - - 'UP' + - "DOWN" + - "UP" pan: name: Pan description: "Pan direction." selector: select: options: - - 'LEFT' - - 'RIGHT' + - "LEFT" + - "RIGHT" zoom: name: Zoom description: "Zoom." selector: select: options: - - 'ZOOM_IN' - - 'ZOOM_OUT' + - "ZOOM_IN" + - "ZOOM_OUT" distance: name: Distance description: "Distance coefficient. Sets how much PTZ should be executed in one request." @@ -71,8 +71,8 @@ ptz: selector: select: options: - - 'AbsoluteMove' - - 'ContinuousMove' - - 'GotoPreset' - - 'RelativeMove' - - 'Stop' + - "AbsoluteMove" + - "ContinuousMove" + - "GotoPreset" + - "RelativeMove" + - "Stop" diff --git a/homeassistant/components/opentherm_gw/services.yaml b/homeassistant/components/opentherm_gw/services.yaml index fc0b0011d7c603..77ef501f9d87e6 100644 --- a/homeassistant/components/opentherm_gw/services.yaml +++ b/homeassistant/components/opentherm_gw/services.yaml @@ -85,7 +85,7 @@ set_control_setpoint: min: 0 max: 90 step: 0.1 - unit_of_measurement: '°' + unit_of_measurement: "°" set_hot_water_ovrd: name: Set hot water override @@ -136,7 +136,7 @@ set_hot_water_setpoint: min: 0 max: 90 step: 0.1 - unit_of_measurement: '°' + unit_of_measurement: "°" set_gpio_mode: name: Set gpio mode @@ -156,8 +156,8 @@ set_gpio_mode: selector: select: options: - - 'A' - - 'B' + - "A" + - "B" mode: name: Mode description: > @@ -187,12 +187,12 @@ set_led_mode: selector: select: options: - - 'A' - - 'B' - - 'C' - - 'D' - - 'E' - - 'F' + - "A" + - "B" + - "C" + - "D" + - "E" + - "F" mode: name: Mode description: > @@ -202,18 +202,18 @@ set_led_mode: selector: select: options: - - 'B' - - 'C' - - 'E' - - 'F' - - 'H' - - 'M' - - 'O' - - 'P' - - 'R' - - 'T' - - 'W' - - 'X' + - "B" + - "C" + - "E" + - "F" + - "H" + - "M" + - "O" + - "P" + - "R" + - "T" + - "W" + - "X" set_max_modulation: name: Set max modulation diff --git a/homeassistant/components/rainmachine/services.yaml b/homeassistant/components/rainmachine/services.yaml index b4fb3c8bf1b1d0..7dcbe2cd8d798e 100644 --- a/homeassistant/components/rainmachine/services.yaml +++ b/homeassistant/components/rainmachine/services.yaml @@ -155,7 +155,7 @@ push_weather_data: min: -40 max: 40 step: 0.1 - unit_of_measurement: '°C' + unit_of_measurement: "°C" maxtemp: name: Max Temp description: Maximum Temperature (°C). @@ -164,7 +164,7 @@ push_weather_data: min: -40 max: 40 step: 0.1 - unit_of_measurement: '°C' + unit_of_measurement: "°C" temperature: name: Temperature description: Current Temperature (°C). @@ -173,7 +173,7 @@ push_weather_data: min: -40 max: 40 step: 0.1 - unit_of_measurement: '°C' + unit_of_measurement: "°C" wind: name: Wind Speed description: Wind Speed (m/s) @@ -181,7 +181,7 @@ push_weather_data: number: min: 0 max: 65 - unit_of_measurement: 'm/s' + unit_of_measurement: "m/s" solarrad: name: Solar Radiation description: Solar Radiation (MJ/m²/h) @@ -190,7 +190,7 @@ push_weather_data: min: 0 max: 5 step: 0.1 - unit_of_measurement: 'MJ/m²/h' + unit_of_measurement: "MJ/m²/h" et: name: Evapotranspiration description: Evapotranspiration (mm) @@ -198,7 +198,7 @@ push_weather_data: number: min: 0 max: 1000 - unit_of_measurement: 'mm' + unit_of_measurement: "mm" qpf: name: Quantitative Precipitation Forecast description: >- @@ -209,7 +209,7 @@ push_weather_data: number: min: 0 max: 1000 - unit_of_measurement: 'mm' + unit_of_measurement: "mm" rain: name: Measured Rainfall description: >- @@ -220,7 +220,7 @@ push_weather_data: number: min: 0 max: 1000 - unit_of_measurement: 'mm' + unit_of_measurement: "mm" minrh: name: Min Relative Humidity description: Min Relative Humidity (%RH) @@ -228,7 +228,7 @@ push_weather_data: number: min: 0 max: 100 - unit_of_measurement: '%' + unit_of_measurement: "%" maxrh: name: Max Relative Humidity description: Max Relative Humidity (%RH) @@ -236,7 +236,7 @@ push_weather_data: number: min: 0 max: 100 - unit_of_measurement: '%' + unit_of_measurement: "%" condition: name: Weather Condition Code description: Current weather condition code (WNUM). @@ -258,7 +258,7 @@ push_weather_data: min: -40 max: 40 step: 0.1 - unit_of_measurement: '°C' + unit_of_measurement: "°C" unrestrict_watering: name: Unrestrict All Watering description: Unrestrict all watering activities diff --git a/homeassistant/components/roon/services.yaml b/homeassistant/components/roon/services.yaml index d3a33ec2fe746d..9d9d02f0efc457 100644 --- a/homeassistant/components/roon/services.yaml +++ b/homeassistant/components/roon/services.yaml @@ -14,4 +14,3 @@ transfer: entity: integration: roon domain: media_player - diff --git a/homeassistant/components/scene/services.yaml b/homeassistant/components/scene/services.yaml index 3b780a939cc96a..cbe5e70f688088 100644 --- a/homeassistant/components/scene/services.yaml +++ b/homeassistant/components/scene/services.yaml @@ -9,8 +9,7 @@ turn_on: fields: transition: name: Transition - description: - Transition duration it takes to bring devices to the state + description: Transition duration it takes to bring devices to the state defined in the scene. selector: number: @@ -39,8 +38,7 @@ apply: object: transition: name: Transition - description: - Transition duration it takes to bring devices to the state + description: Transition duration it takes to bring devices to the state defined in the scene. selector: number: diff --git a/homeassistant/components/simplisafe/services.yaml b/homeassistant/components/simplisafe/services.yaml index 3d0965b4b0b282..9875d5baa371c3 100644 --- a/homeassistant/components/simplisafe/services.yaml +++ b/homeassistant/components/simplisafe/services.yaml @@ -82,20 +82,20 @@ set_system_properties: selector: select: options: - - 'low' - - 'medium' - - 'high' - - 'off' + - "low" + - "medium" + - "high" + - "off" chime_volume: name: Chime volume description: The volume level of the door chime selector: select: options: - - 'low' - - 'medium' - - 'high' - - 'off' + - "low" + - "medium" + - "high" + - "off" entry_delay_away: name: Entry delay away description: How long to delay when entering while "away" @@ -139,7 +139,7 @@ set_system_properties: selector: select: options: - - 'low' - - 'medium' - - 'high' - - 'off' + - "low" + - "medium" + - "high" + - "off" diff --git a/homeassistant/components/snips/services.yaml b/homeassistant/components/snips/services.yaml index 407eab996c70bc..df3a46281c87a9 100644 --- a/homeassistant/components/snips/services.yaml +++ b/homeassistant/components/snips/services.yaml @@ -28,7 +28,7 @@ say: name: Custom data description: custom data that will be included with all messages in this session example: user=UserName - default: '' + default: "" selector: text: site_id: @@ -59,7 +59,7 @@ say_action: name: Custom data description: custom data that will be included with all messages in this session example: user=UserName - default: '' + default: "" selector: text: intent_filter: diff --git a/homeassistant/components/sonos/services.yaml b/homeassistant/components/sonos/services.yaml index 4f04b2407ff5f7..a172b45ecd9d42 100644 --- a/homeassistant/components/sonos/services.yaml +++ b/homeassistant/components/sonos/services.yaml @@ -4,8 +4,7 @@ join: fields: master: name: Master - description: - Entity ID of the player that should become the coordinator of the group. + description: Entity ID of the player that should become the coordinator of the group. required: true selector: entity: diff --git a/homeassistant/components/squeezebox/services.yaml b/homeassistant/components/squeezebox/services.yaml index 293b89fe35a749..4c2d34ba88b327 100644 --- a/homeassistant/components/squeezebox/services.yaml +++ b/homeassistant/components/squeezebox/services.yaml @@ -34,7 +34,7 @@ call_query: name: Command description: Command to pass to Logitech Media Server (p0 in the CLI documentation). required: true - example: 'albums' + example: "albums" selector: text: parameters: diff --git a/homeassistant/components/streamlabswater/services.yaml b/homeassistant/components/streamlabswater/services.yaml index 3a483fec264ebe..b54c2cf15ebbee 100644 --- a/homeassistant/components/streamlabswater/services.yaml +++ b/homeassistant/components/streamlabswater/services.yaml @@ -9,5 +9,5 @@ set_away_mode: selector: select: options: - - 'away' - - 'home' + - "away" + - "home" diff --git a/homeassistant/components/surepetcare/services.yaml b/homeassistant/components/surepetcare/services.yaml index 57b1ef220088a5..3c3919f5d01cbf 100644 --- a/homeassistant/components/surepetcare/services.yaml +++ b/homeassistant/components/surepetcare/services.yaml @@ -16,10 +16,10 @@ set_lock_state: selector: select: options: - - 'locked_all' - - 'locked_in' - - 'locked_out' - - 'unlocked' + - "locked_all" + - "locked_in" + - "locked_out" + - "unlocked" set_pet_location: name: Set pet location @@ -38,5 +38,5 @@ set_pet_location: selector: select: options: - - 'Inside' - - 'Outside' + - "Inside" + - "Outside" diff --git a/homeassistant/components/switcher_kis/services.yaml b/homeassistant/components/switcher_kis/services.yaml index 752b7f3de4cc4f..a7c3df5903e333 100644 --- a/homeassistant/components/switcher_kis/services.yaml +++ b/homeassistant/components/switcher_kis/services.yaml @@ -17,7 +17,7 @@ set_auto_off: turn_on_with_timer: name: Turn on with timer - description: 'Turn on the Switcher device with timer.' + description: "Turn on the Switcher device with timer." target: entity: integration: switcher_kis @@ -26,7 +26,7 @@ turn_on_with_timer: fields: timer_minutes: name: Timer - description: 'Time to turn on.' + description: "Time to turn on." required: true selector: number: diff --git a/homeassistant/components/system_log/services.yaml b/homeassistant/components/system_log/services.yaml index d473a590e0fb05..0f9ae61ba4c8dd 100644 --- a/homeassistant/components/system_log/services.yaml +++ b/homeassistant/components/system_log/services.yaml @@ -32,8 +32,7 @@ write: value: "critical" logger: name: Logger - description: - Logger name under which to log the message. Defaults to + description: Logger name under which to log the message. Defaults to 'system_log.external'. example: mycomponent.myplatform selector: diff --git a/homeassistant/components/tado/services.yaml b/homeassistant/components/tado/services.yaml index 97d4891551df8a..8f5858793959bf 100644 --- a/homeassistant/components/tado/services.yaml +++ b/homeassistant/components/tado/services.yaml @@ -15,7 +15,7 @@ set_climate_timer: min: 0 max: 100 step: 0.5 - unit_of_measurement: '°' + unit_of_measurement: "°" time_period: name: Time period description: Choose this or Overlay. Set the time period for the change if you want to be specific. Alternatively use Overlay @@ -61,7 +61,7 @@ set_water_heater_timer: min: 0 max: 100 step: 0.5 - unit_of_measurement: '°' + unit_of_measurement: "°" set_climate_temperature_offset: name: Set climate temperature offset @@ -80,4 +80,4 @@ set_climate_temperature_offset: min: -10 max: 10 step: 0.01 - unit_of_measurement: '°' + unit_of_measurement: "°" diff --git a/homeassistant/components/template/services.yaml b/homeassistant/components/template/services.yaml index b6fa371e8182c7..6186bc6dccbef8 100644 --- a/homeassistant/components/template/services.yaml +++ b/homeassistant/components/template/services.yaml @@ -1,4 +1,3 @@ reload: name: Reload description: Reload all template entities. - diff --git a/homeassistant/components/upb/services.yaml b/homeassistant/components/upb/services.yaml index 6c5c1a8b606e0e..af8eb81d9b04f9 100644 --- a/homeassistant/components/upb/services.yaml +++ b/homeassistant/components/upb/services.yaml @@ -20,7 +20,7 @@ light_fade_start: number: min: 0 max: 100 - unit_of_measurement: '%' + unit_of_measurement: "%" rate: name: Rate description: Rate for light to transition to new brightness @@ -89,7 +89,7 @@ link_goto: number: min: 0 max: 100 - unit_of_measurement: '%' + unit_of_measurement: "%" rate: name: Rate description: Amount of time for scene to transition to new brightness @@ -122,7 +122,7 @@ link_fade_start: number: min: 0 max: 100 - unit_of_measurement: '%' + unit_of_measurement: "%" rate: name: Rate description: Amount of time for scene to transition to new brightness diff --git a/homeassistant/components/vallox/services.yaml b/homeassistant/components/vallox/services.yaml index d6a0ec238c3786..15ce6c88b5581b 100644 --- a/homeassistant/components/vallox/services.yaml +++ b/homeassistant/components/vallox/services.yaml @@ -10,7 +10,7 @@ set_profile_fan_speed_home: number: min: 0 max: 100 - unit_of_measurement: '%' + unit_of_measurement: "%" set_profile_fan_speed_away: name: Set profile fan speed away @@ -24,7 +24,7 @@ set_profile_fan_speed_away: number: min: 0 max: 100 - unit_of_measurement: '%' + unit_of_measurement: "%" set_profile_fan_speed_boost: name: Set profile fan speed boost @@ -38,4 +38,4 @@ set_profile_fan_speed_boost: number: min: 0 max: 100 - unit_of_measurement: '%' + unit_of_measurement: "%" diff --git a/homeassistant/components/velbus/services.yaml b/homeassistant/components/velbus/services.yaml index 83af09409c12aa..6dbf5e8cb4723d 100644 --- a/homeassistant/components/velbus/services.yaml +++ b/homeassistant/components/velbus/services.yaml @@ -7,7 +7,7 @@ sync_clock: description: The velbus interface to send the command to, this will be the same value as used during configuration required: true example: "192.168.1.5:27015" - default: '' + default: "" selector: text: @@ -20,7 +20,7 @@ scan: description: The velbus interface to send the command to, this will be the same value as used during configuration required: true example: "192.168.1.5:27015" - default: '' + default: "" selector: text: @@ -35,7 +35,7 @@ set_memo_text: description: The velbus interface to send the command to, this will be the same value as used during configuration required: true example: "192.168.1.5:27015" - default: '' + default: "" selector: text: address: @@ -54,6 +54,6 @@ set_memo_text: The actual text to be displayed. Text is limited to 64 characters. example: "Do not forget trash" - default: '' + default: "" selector: text: diff --git a/homeassistant/components/vicare/services.yaml b/homeassistant/components/vicare/services.yaml index 94146c4250ecb9..1fc1e61b6eeec3 100644 --- a/homeassistant/components/vicare/services.yaml +++ b/homeassistant/components/vicare/services.yaml @@ -13,10 +13,10 @@ set_vicare_mode: selector: select: options: - - 'dhw' - - 'dhwAndHeating' - - 'dhwAndHeatingCooling' - - 'forcedNormal' - - 'forcedReduced' - - 'heating' - - 'standby' + - "dhw" + - "dhwAndHeating" + - "dhwAndHeatingCooling" + - "forcedNormal" + - "forcedReduced" + - "heating" + - "standby" diff --git a/homeassistant/components/wemo/services.yaml b/homeassistant/components/wemo/services.yaml index e86366b6a5c1ed..58305798cf9194 100644 --- a/homeassistant/components/wemo/services.yaml +++ b/homeassistant/components/wemo/services.yaml @@ -15,7 +15,7 @@ set_humidity: min: 0 max: 100 step: 5 - unit_of_measurement: '%' + unit_of_measurement: "%" reset_filter_life: name: Reset filter life diff --git a/homeassistant/components/xiaomi_miio/services.yaml b/homeassistant/components/xiaomi_miio/services.yaml index b8f81e1a34db5c..e1cf03ba4ee1e8 100644 --- a/homeassistant/components/xiaomi_miio/services.yaml +++ b/homeassistant/components/xiaomi_miio/services.yaml @@ -159,7 +159,7 @@ remote_learn_command: remote_set_led_on: name: Remote set LED on - description: 'Turn on blue LED.' + description: "Turn on blue LED." target: entity: integration: xiaomi_miio @@ -167,7 +167,7 @@ remote_set_led_on: remote_set_led_off: name: Remote set LED off - description: 'Turn off blue LED.' + description: "Turn off blue LED." target: entity: integration: xiaomi_miio @@ -231,8 +231,8 @@ switch_set_power_mode: selector: select: options: - - 'green' - - 'normal' + - "green" + - "normal" vacuum_remote_control_start: name: Vacuum remote control start @@ -273,7 +273,7 @@ vacuum_remote_control_move: number: min: -179 max: 179 - unit_of_measurement: '°' + unit_of_measurement: "°" duration: name: Duration description: Duration of the movement. @@ -306,7 +306,7 @@ vacuum_remote_control_move_step: number: min: -179 max: 179 - unit_of_measurement: '°' + unit_of_measurement: "°" duration: name: Duration description: Duration of the movement. diff --git a/homeassistant/components/yeelight/services.yaml b/homeassistant/components/yeelight/services.yaml index b365f273e3184c..6faafa0bd1c54a 100644 --- a/homeassistant/components/yeelight/services.yaml +++ b/homeassistant/components/yeelight/services.yaml @@ -13,12 +13,12 @@ set_mode: selector: select: options: - - 'color_flow' - - 'hsv' - - 'last' - - 'moonlight' - - 'normal' - - 'rgb' + - "color_flow" + - "hsv" + - "last" + - "moonlight" + - "normal" + - "rgb" set_color_scene: name: Set color scene @@ -108,13 +108,13 @@ set_color_flow_scene: action: name: Action description: The action to take after the flow stops. - default: 'recover' + default: "recover" selector: select: options: - - 'off' - - 'recover' - - 'stay' + - "off" + - "recover" + - "stay" transitions: name: Transitions description: Array of transitions, for desired effect. Examples https://yeelight.readthedocs.io/en/stable/flow.html @@ -164,13 +164,13 @@ start_flow: action: name: Action description: The action to take after the flow stops. - default: 'recover' + default: "recover" selector: select: options: - - 'off' - - 'recover' - - 'stay' + - "off" + - "recover" + - "stay" transitions: name: Transitions description: Array of transitions, for desired effect. Examples https://yeelight.readthedocs.io/en/stable/flow.html