* https://github.com/home-assistant/core/pull/55875\#discussion_r703334504 * missing test update
This commit is contained in:
parent
0684f8bddf
commit
d705b35ea1
2 changed files with 2 additions and 2 deletions
|
@ -106,7 +106,7 @@ class IntegrationSensor(RestoreEntity, SensorEntity):
|
|||
"""Initialize the integration sensor."""
|
||||
self._sensor_source_id = source_entity
|
||||
self._round_digits = round_digits
|
||||
self._state = STATE_UNAVAILABLE
|
||||
self._state = None
|
||||
self._method = integration_method
|
||||
|
||||
self._name = name if name is not None else f"{source_entity} integral"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue