From 5c6666561712800ff2f8a21a653c6ef1ad1219c3 Mon Sep 17 00:00:00 2001 From: JoDehli Date: Sun, 24 Nov 2024 12:46:22 +0100 Subject: [PATCH] formatting --- custom_components/loxone/alarm_control_panel.py | 1 - custom_components/loxone/binary_sensor.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/custom_components/loxone/alarm_control_panel.py b/custom_components/loxone/alarm_control_panel.py index d28e8fd..c7aa2d3 100644 --- a/custom_components/loxone/alarm_control_panel.py +++ b/custom_components/loxone/alarm_control_panel.py @@ -226,7 +226,6 @@ def alarm_state(self) -> AlarmControlPanelState | None: return AlarmControlPanelState.ARMED_AWAY return AlarmControlPanelState.DISARMED - @property def extra_state_attributes(self): """Return the state attributes.""" diff --git a/custom_components/loxone/binary_sensor.py b/custom_components/loxone/binary_sensor.py index 966f069..7308fe4 100644 --- a/custom_components/loxone/binary_sensor.py +++ b/custom_components/loxone/binary_sensor.py @@ -153,7 +153,7 @@ def __init__(self, **kwargs): self._attr_extra_state_attributes = { "uuid": self.uuidAction, "platform": "loxone", - "device_typ": self.device_class + "device_typ": self.device_class, } @property