mirror of
https://github.com/home-assistant/core.git
synced 2025-08-06 06:05:10 +02:00
update after data after creation
This commit is contained in:
@@ -597,10 +597,12 @@ class HMHub(Entity):
|
||||
|
||||
# load data
|
||||
track_time_interval(hass, self._update_hub, SCAN_INTERVAL_HUB)
|
||||
self._update_hub(None)
|
||||
|
||||
if self._use_variables:
|
||||
track_time_interval(
|
||||
hass, self._update_variables, SCAN_INTERVAL_VARIABLES)
|
||||
self._update_variables(None)
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
|
Reference in New Issue
Block a user