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
14 changes: 0 additions & 14 deletions homeassistant/components/water_heater/services.yaml
Original file line number Diff line number Diff line change
@@ -1,29 +1,21 @@
# Describes the format for available water_heater services

set_away_mode:
name: Set away mode
description: Turn away mode on/off for water_heater device.
target:
entity:
domain: water_heater
fields:
away_mode:
name: Away mode
description: New value of away mode.
required: true
selector:
boolean:

set_temperature:
name: Set temperature
description: Set target temperature of water_heater device.
target:
entity:
domain: water_heater
fields:
temperature:
name: Temperature
description: New target temperature for water heater.
required: true
selector:
number:
Expand All @@ -32,22 +24,16 @@ set_temperature:
step: 0.5
unit_of_measurement: "°"
operation_mode:
name: Operation mode
description: New value of operation mode.
example: eco
selector:
text:

set_operation_mode:
name: Set operation mode
description: Set operation mode for water_heater device.
target:
entity:
domain: water_heater
fields:
operation_mode:
name: Operation mode
description: New value of operation mode.
required: true
example: eco
selector:
Expand Down
36 changes: 36 additions & 0 deletions homeassistant/components/water_heater/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,41 @@
"performance": "Performance"
}
}
},
"services": {
"set_away_mode": {
"name": "Set away mode",
"description": "Turns away mode on/off.",
"fields": {
"away_mode": {
"name": "Away mode",
"description": "New value of away mode."
}
}
},
"set_temperature": {
"name": "Set temperature",
"description": "Sets the target temperature.",
"fields": {
"temperature": {
"name": "Temperature",
"description": "New target temperature for the water heater."
},
"operation_mode": {
"name": "Operation mode",
"description": "New value of the operation mode. For a list of possible modes, refer to the integration documentation."
}
}
},
"set_operation_mode": {
"name": "Set operation mode",
"description": "Sets the operation mode.",
"fields": {
"operation_mode": {
"name": "[%key:component::water_heater::services::set_temperature::fields::operation_mode::name%]",
"description": "[%key:component::water_heater::services::set_temperature::fields::operation_mode::description%]"
}
}
}
}
}