Add missing super() call to EnergyCostSensor.add_to_platform_abort (#94322)

pull/94341/head
Erik Montnemery 2023-06-09 11:28:12 +02:00 committed by GitHub
parent 4085c4f6d8
commit e25fbecfdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -434,6 +434,7 @@ class EnergyCostSensor(SensorEntity):
def add_to_platform_abort(self) -> None: def add_to_platform_abort(self) -> None:
"""Abort adding an entity to a platform.""" """Abort adding an entity to a platform."""
self.add_finished.set() self.add_finished.set()
super().add_to_platform_abort()
async def async_will_remove_from_hass(self) -> None: async def async_will_remove_from_hass(self) -> None:
"""Handle removing from hass.""" """Handle removing from hass."""