diff --git a/homeassistant/components/number/services.yaml b/homeassistant/components/number/services.yaml index 2014c4c5221..dcbb955d739 100644 --- a/homeassistant/components/number/services.yaml +++ b/homeassistant/components/number/services.yaml @@ -1,15 +1,11 @@ # Describes the format for available Number entity services set_value: - name: Set - description: Set the value of a Number entity. target: entity: domain: number fields: value: - name: Value - description: The target value the entity should be set to. example: 42 selector: text: diff --git a/homeassistant/components/number/strings.json b/homeassistant/components/number/strings.json index 46db471305c..e954a55b280 100644 --- a/homeassistant/components/number/strings.json +++ b/homeassistant/components/number/strings.json @@ -154,5 +154,17 @@ "wind_speed": { "name": "[%key:component::sensor::entity_component::wind_speed::name%]" } + }, + "services": { + "set_value": { + "name": "Set", + "description": "Sets the value of a number.", + "fields": { + "value": { + "name": "Value", + "description": "The target value to set." + } + } + } } }