Update greeneye_monitor sensor state when first connected to a monitor (#58587)

This commit is contained in:
Jonathan Keljo 2021-10-29 03:09:06 -07:00 committed by GitHub
parent 3a76d92e0f
commit d1474d8e92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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