mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 05:35:11 +02:00
Update greeneye_monitor sensor state when first connected to a monitor (#58587)
This commit is contained in:
@@ -136,6 +136,7 @@ class GEMSensor(SensorEntity):
|
|||||||
|
|
||||||
self._sensor = self._get_sensor(monitor)
|
self._sensor = self._get_sensor(monitor)
|
||||||
self._sensor.add_listener(self.async_write_ha_state)
|
self._sensor.add_listener(self.async_write_ha_state)
|
||||||
|
self.async_write_ha_state()
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user