Static Public Attributes | |
| None | |
Static Public Attributes inherited from homeassistant.helpers.entity.Entity | |
| bool | |
| EntityPlatform | |
| HomeAssistant | |
| None | |
| StateInfo | |
| StateType | |
| str | |
Private Attributes | |
| __pattern_cmp | |
Static Private Attributes | |
| _entity_component_unrecorded_attributes | |
Additional Inherited Members | |
Public Attributes inherited from homeassistant.helpers.entity.Entity | |
| device_entry | |
| entity_id | |
| hass | |
| parallel_updates | |
| platform | |
| registry_entry | |
Representation of a Text entity.
Definition at line 119 of file __init__.py.
Change the value.
Reimplemented in homeassistant.components.unifiprotect.text.ProtectDeviceText, homeassistant.components.shelly.text.RpcText, homeassistant.components.mysensors.text.MySensorsText, homeassistant.components.mqtt.text.MqttTextEntity, homeassistant.components.knx.text.KNXText, homeassistant.components.esphome.text.EsphomeText, and homeassistant.components.demo.text.DemoText.
Definition at line 236 of file __init__.py.
| dict[str, Any] homeassistant.components.text.TextEntity.capability_attributes | ( | self | ) |
Return capability attributes.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 136 of file __init__.py.
| int homeassistant.components.text.TextEntity.max | ( | self | ) |
Return the maximum length of the value.
Definition at line 203 of file __init__.py.
| int homeassistant.components.text.TextEntity.min | ( | self | ) |
Return the minimum length of the value.
Definition at line 188 of file __init__.py.
| TextMode homeassistant.components.text.TextEntity.mode | ( | self | ) |
Return the mode of the entity.
Definition at line 169 of file __init__.py.
| int homeassistant.components.text.TextEntity.native_max | ( | self | ) |
Return the maximum length of the value.
Definition at line 193 of file __init__.py.
| int homeassistant.components.text.TextEntity.native_min | ( | self | ) |
Return the minimum length of the value.
Definition at line 178 of file __init__.py.
Return the value reported by the text.
Reimplemented in homeassistant.components.shelly.text.RpcText, homeassistant.components.mysensors.text.MySensorsText, homeassistant.components.knx.text.KNXText, and homeassistant.components.esphome.text.EsphomeText.
Definition at line 228 of file __init__.py.
Return the regex pattern that the value must match.
Definition at line 219 of file __init__.py.
| re.Pattern | None homeassistant.components.text.TextEntity.pattern_cmp | ( | self | ) |
Return a compiled pattern.
Definition at line 209 of file __init__.py.
Change the value.
Definition at line 232 of file __init__.py.
Return the entity state.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 147 of file __init__.py.
|
private |
Definition at line 212 of file __init__.py.
|
staticprivate |
Definition at line 122 of file __init__.py.
|
static |
Definition at line 132 of file __init__.py.