Add state (attribute) translations for Text (#89898)

This commit is contained in:
Franck Nijhof 2023-03-18 01:29:12 +01:00 committed by GitHub
parent e87359761b
commit 1f4164def8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,5 +4,28 @@
"action_type": {
"set_value": "Set value for {entity_name}"
}
},
"entity_component": {
"_": {
"name": "[%key:component::text::title%]",
"state_attributes": {
"max": {
"name": "Max length"
},
"min": {
"name": "Min length"
},
"mode": {
"name": "Mode",
"state": {
"text": "Text",
"password": "Password"
}
},
"pattern": {
"name": "Pattern"
}
}
}
}
}