From 4c028d75433919ced184f0d2cbc933823dd32b43 Mon Sep 17 00:00:00 2001 From: Mick Vleeshouwer Date: Sun, 20 Feb 2022 22:58:34 +0100 Subject: [PATCH] Squashed commit of the following: commit 7db25d76c78f7f07b5782783e1cc995634817d28 Author: Mick Vleeshouwer Date: Sun Feb 20 13:56:04 2022 -0800 Backport `binary_sensor` entity (#765) * Backport binary_sensor * Add missing descriptions * Bugfix commit f7c280d442fe0d23ea6480d14988caa2ef6f4ddf Author: Mick Vleeshouwer Date: Sun Feb 20 13:50:07 2022 -0800 Backport number entity (#766) commit d93ebc7649d28792abda323445ebd1963798117d Author: Mick Vleeshouwer Date: Sun Feb 20 13:45:52 2022 -0800 Backport button (#772) commit 6cb325cbad7bbde3d18f98705b0124d0f59480aa Author: Mick Vleeshouwer Date: Sun Feb 20 13:45:41 2022 -0800 Backport lock (#769) commit b738bd1c499f9ee6e5250475fdea84acdd265816 Author: Mick Vleeshouwer Date: Sun Feb 20 13:45:31 2022 -0800 Backport executor (#771) * Backport executor * Add linked_device commit 11a609cde2a5138934c18af241bf0f46682db8ad Author: Mick Vleeshouwer Date: Sun Feb 20 13:16:45 2022 -0800 Backport switch (#774) * Backport switch * Remove unnecessary climate platform commit ccb5fdbdd5dc3bf91d168efccce7e7090d628749 Author: Mick Vleeshouwer Date: Sun Feb 20 12:30:22 2022 -0800 Backport light (#775) commit 43c5ada63dab9841b9790f6fbe30ee2a28e92332 Author: Mick Vleeshouwer Date: Sun Feb 20 12:23:04 2022 -0800 Backport scene (#770) --- custom_components/tahoma/entity.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/custom_components/tahoma/entity.py b/custom_components/tahoma/entity.py index 9cbe7f86..8f267370 100644 --- a/custom_components/tahoma/entity.py +++ b/custom_components/tahoma/entity.py @@ -104,13 +104,6 @@ def extra_state_attributes(self) -> dict[str, Any]: return attr -@dataclass -class OverkizBinarySensorDescription(BinarySensorEntityDescription): - """Class to describe an Overkiz binary sensor.""" - - is_on: Callable[[str], bool] = lambda state: state - - @dataclass class OverkizSelectDescription(SelectEntityDescription): """Class to describe an Overkiz select entity."""