Update greeneye_monitor sensor state when first connected to a monitor (#58587)
This commit is contained in:
parent
3a76d92e0f
commit
d1474d8e92
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue