Closed balloob closed 4 years ago
@DanielWe2 take a look at my PR: #39548 You should be able to create a similar PR for influxdb. It's just a matter of adding
setup_reload_service(hass, DOMAIN, PLATFORMS)
tosetup_platform
andservices.yaml
.
That will work for integrations that use setup_platform
or async_setup_platform
. For influxdb
, we can reuse part of what was done for homekit
.
@bdraco I've looked at the code and I see that function: https://github.com/home-assistant/core/blob/dev/homeassistant/components/influxdb/sensor.py#L144 but I guess it isn't that easy task after all 🙂
@bdraco I've looked at the code and I see that function: https://github.com/home-assistant/core/blob/dev/homeassistant/components/influxdb/sensor.py#L144 but I guess it isn't that easy task after all 🙂
We probably would need to do something like we did with group
for this one.
As the month of WTH is coming to an end I will be closing this issue now. Thanks everybody for all the feedback.
People talk about how they want to have the Home Assistant restart button front and center in the UI. As less and less things actually require a restart, I want to use this issue to see why people are still restarting that often.