mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Update greeneye_monitor sensor state when first connected to a monitor (#58587)
This commit is contained in:
parent
3a76d92e0f
commit
d1474d8e92
@ -136,6 +136,7 @@ class GEMSensor(SensorEntity):
|
||||
|
||||
self._sensor = self._get_sensor(monitor)
|
||||
self._sensor.add_listener(self.async_write_ha_state)
|
||||
self.async_write_ha_state()
|
||||
|
||||
return True
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user