mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 09:17:10 +00:00
Add RPC smoke binary sensor to Shelly integration (#85697)
* Add RPS smoke binary sensor * Remove index * Remove the unnecessary attribute
This commit is contained in:
parent
b71d332a10
commit
a176de6d4b
@ -190,6 +190,12 @@ RPC_SENSORS: Final = {
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
supported=lambda status: status.get("apower") is not None,
|
||||
),
|
||||
"smoke": RpcBinarySensorDescription(
|
||||
key="smoke",
|
||||
sub_key="alarm",
|
||||
name="Smoke",
|
||||
device_class=BinarySensorDeviceClass.SMOKE,
|
||||
),
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user