Correct device class typo in rfxtrx (#54200)

pull/54205/head
Joakim Plate 2021-08-07 12:15:31 +02:00 committed by GitHub
parent 6830eec549
commit 422fe48c3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ async def async_setup_entry(
if description is None: if description is None:
description = BinarySensorEntityDescription(key=type_string) description = BinarySensorEntityDescription(key=type_string)
if device_class: if device_class:
description = replace(description, device_class=device) description = replace(description, device_class=device_class)
return description return description
for packet_id, entity_info in discovery_info[CONF_DEVICES].items(): for packet_id, entity_info in discovery_info[CONF_DEVICES].items():