mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 09:17:10 +00:00
Update reading when device is added (#15548)
This commit is contained in:
parent
4650366f07
commit
22d961de70
@ -117,7 +117,7 @@ def async_setup_platform(hass, config, async_add_devices, discovery_info=None):
|
|||||||
except KeyError:
|
except KeyError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
async_add_devices(dev)
|
async_add_devices(dev, True)
|
||||||
|
|
||||||
|
|
||||||
class BME280Handler:
|
class BME280Handler:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user