|
99 | 99 | { |
100 | 100 | vol.Required(CONF_DEVICE_ID): selector.DeviceSelector(), |
101 | 101 | vol.Optional(CONF_NAME): selector.TextSelector( |
102 | | - selector.TextSelectorConfig(type=selector.TextSelectorType.TEXT), |
| 102 | + selector.TextSelectorConfig( |
| 103 | + type=selector.TextSelectorType.TEXT, autocomplete="off" |
| 104 | + ), |
103 | 105 | ), |
104 | 106 | } |
105 | 107 | ) |
|
121 | 123 | ) |
122 | 124 | ), |
123 | 125 | vol.Optional(CONF_NAME): selector.TextSelector( |
124 | | - selector.TextSelectorConfig(type=selector.TextSelectorType.TEXT), |
| 126 | + selector.TextSelectorConfig( |
| 127 | + type=selector.TextSelectorType.TEXT, autocomplete="off" |
| 128 | + ), |
125 | 129 | ), |
126 | 130 | } |
127 | 131 | ) |
|
130 | 134 | { |
131 | 135 | vol.Required(CONF_SOURCE_ENTITY_ID): selector.EntitySelector(), |
132 | 136 | vol.Optional(CONF_NAME): selector.TextSelector( |
133 | | - selector.TextSelectorConfig(type=selector.TextSelectorType.TEXT), |
| 137 | + selector.TextSelectorConfig( |
| 138 | + type=selector.TextSelectorType.TEXT, autocomplete="off" |
| 139 | + ), |
134 | 140 | ), |
135 | 141 | } |
136 | 142 | ) |
|
144 | 150 | ) |
145 | 151 | ), |
146 | 152 | vol.Optional(CONF_NAME): selector.TextSelector( |
147 | | - selector.TextSelectorConfig(type=selector.TextSelectorType.TEXT), |
| 153 | + selector.TextSelectorConfig( |
| 154 | + type=selector.TextSelectorType.TEXT, autocomplete="off" |
| 155 | + ), |
148 | 156 | ), |
149 | 157 | } |
150 | 158 | ) |
@@ -954,7 +962,9 @@ async def async_step_reconfigure( |
954 | 962 | data_schema = vol.Schema( |
955 | 963 | { |
956 | 964 | vol.Optional(CONF_NAME): selector.TextSelector( |
957 | | - selector.TextSelectorConfig(type=selector.TextSelectorType.TEXT), |
| 965 | + selector.TextSelectorConfig( |
| 966 | + type=selector.TextSelectorType.TEXT, autocomplete="off" |
| 967 | + ), |
958 | 968 | ), |
959 | 969 | vol.Required(CONF_BATTERY_TYPE): selector.TextSelector( |
960 | 970 | selector.TextSelectorConfig(type=selector.TextSelectorType.TEXT), |
|
0 commit comments