Add update platform for Sensibo (#70180)

This commit is contained in:
G Johansson 2022-04-18 23:17:39 +02:00 committed by GitHub
parent f63465bd71
commit c87992715f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 98 additions and 11 deletions

View file

@ -82,14 +82,6 @@ DEVICE_SENSOR_TYPES: tuple[SensiboDeviceBinarySensorEntityDescription, ...] = (
icon="mdi:motion-sensor",
value_fn=lambda data: data.room_occupied,
),
SensiboDeviceBinarySensorEntityDescription(
key="update_available",
device_class=BinarySensorDeviceClass.UPDATE,
entity_category=EntityCategory.DIAGNOSTIC,
name="Update Available",
icon="mdi:rocket-launch",
value_fn=lambda data: data.update_available,
),
)