Files
core/homeassistant/components
J. Nick Koston b2721d6596 Ensure sql sensors keep working after using the options flow (#71453)
* Ensure sql sensors keep working after using the options flow

Fixes
```
2022-05-06 16:17:57 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up sql platform for sensor
Traceback (most recent call last):
  File "/Users/bdraco/home-assistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform
    await asyncio.shield(task)
  File "/Users/bdraco/home-assistant/homeassistant/components/sql/sensor.py", line 97, in async_setup_entry
    name: str = entry.options[CONF_NAME]
KeyError: name
```

* ensure saving the options flow fixes the broken config entry

* ensure options changes take effect right away

* Add cover to validate the reload
2022-05-08 08:23:14 -07:00
..
2022-04-22 19:48:38 -10:00
2022-04-25 07:41:01 -07:00
2022-05-05 14:43:28 -07:00
2022-04-26 09:59:31 +02:00
2022-04-22 19:48:53 -10:00
2022-04-22 14:44:31 -10:00
2022-05-05 15:01:39 -07:00
2022-04-01 12:00:16 +03:00
2022-04-22 19:26:06 +03:00
2022-04-26 23:09:10 -07:00
2022-04-19 12:49:43 +02:00
2022-04-23 09:18:47 -10:00
2022-04-15 16:38:08 +03:00
2022-04-25 10:58:39 +02:00
2022-04-26 09:56:11 +02:00
2022-04-23 09:16:58 -10:00
2022-04-23 09:16:07 -10:00
2022-04-19 12:49:43 +02:00
2022-05-05 14:43:29 -07:00
2022-04-26 09:28:58 +02:00
2022-05-04 17:46:09 +02:00
2022-04-26 15:30:34 +03:00
2022-05-05 14:43:28 -07:00
2022-04-26 09:29:44 +02:00
2022-04-23 09:26:07 -10:00
2022-05-05 14:43:30 -07:00
2022-05-04 17:46:02 +02:00
2022-04-25 21:06:33 -10:00
2022-04-08 23:28:03 +03:00
2022-04-26 09:19:38 +02:00
2022-05-05 14:43:29 -07:00
2022-04-19 12:49:43 +02:00
2022-04-19 12:49:43 +02:00
2022-04-14 23:14:25 +03:00
2022-05-02 15:40:15 -07:00
2022-05-01 21:53:07 -07:00
2022-04-26 15:29:56 +03:00
2022-04-06 13:01:55 +02:00
2022-04-25 07:41:01 -07:00
2022-04-27 16:08:05 +02:00
2022-04-27 21:59:24 -07:00
2022-05-05 14:43:29 -07:00
2022-04-26 09:01:54 +02:00
2022-04-10 14:17:21 -07:00
2022-04-26 08:47:17 +02:00
2022-05-05 14:43:29 -07:00
2022-04-26 15:32:54 +03:00
2022-04-26 15:33:12 +03:00
2022-04-23 10:09:46 -10:00
2022-04-23 10:08:00 -10:00
2022-04-25 21:26:29 -10:00
2022-05-01 21:53:08 -07:00