mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 17:57:11 +00:00
Correct device class typo in rfxtrx (#54200)
This commit is contained in:
parent
6830eec549
commit
422fe48c3a
@ -111,7 +111,7 @@ async def async_setup_entry(
|
||||
if description is None:
|
||||
description = BinarySensorEntityDescription(key=type_string)
|
||||
if device_class:
|
||||
description = replace(description, device_class=device)
|
||||
description = replace(description, device_class=device_class)
|
||||
return description
|
||||
|
||||
for packet_id, entity_info in discovery_info[CONF_DEVICES].items():
|
||||
|
Loading…
x
Reference in New Issue
Block a user