The `binary_sensor` is created when the config entry is loaded after the `async_config_entry_first_refresh` has completed (during the forward of setup to platforms). Therefore, the update coordinator will already have data and will not trigger the invocation of `_handle_coordinator_update`. Fixing this just means performing the same update at initialization. |
||
---|---|---|
.. | ||
__init__.py | ||
binary_sensor.py | ||
config_flow.py | ||
const.py | ||
coordinator.py | ||
diagnostics.py | ||
entity.py | ||
icons.json | ||
manifest.json | ||
sensor.py | ||
strings.json |