diff --git a/homeassistant/components/text/services.yaml b/homeassistant/components/text/services.yaml index 00dd0ecafd2..b8461037b8b 100644 --- a/homeassistant/components/text/services.yaml +++ b/homeassistant/components/text/services.yaml @@ -1,13 +1,9 @@ set_value: - name: Set value - description: Set value of a text entity. target: entity: domain: text fields: value: - name: Value - description: Value to set. required: true example: "Hello world!" selector: diff --git a/homeassistant/components/text/strings.json b/homeassistant/components/text/strings.json index 034f1ab315b..e6b3d99ced4 100644 --- a/homeassistant/components/text/strings.json +++ b/homeassistant/components/text/strings.json @@ -27,5 +27,17 @@ } } } + }, + "services": { + "set_value": { + "name": "Set value", + "description": "Sets the value.", + "fields": { + "value": { + "name": "Value", + "description": "Enter your text." + } + } + } } }