Migrate integrations a-c to extend SensorEntity (#48210)
This commit is contained in:
parent
1bb29bffbb
commit
e0cd7072d6
60 changed files with 139 additions and 139 deletions
|
@ -1,6 +1,6 @@
|
|||
"""Support for AlarmDecoder sensors (Shows Panel Display)."""
|
||||
from homeassistant.components.sensor import SensorEntity
|
||||
from homeassistant.config_entries import ConfigEntry
|
||||
from homeassistant.helpers.entity import Entity
|
||||
from homeassistant.helpers.typing import HomeAssistantType
|
||||
|
||||
from .const import SIGNAL_PANEL_MESSAGE
|
||||
|
@ -16,7 +16,7 @@ async def async_setup_entry(
|
|||
return True
|
||||
|
||||
|
||||
class AlarmDecoderSensor(Entity):
|
||||
class AlarmDecoderSensor(SensorEntity):
|
||||
"""Representation of an AlarmDecoder keypad."""
|
||||
|
||||
def __init__(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue