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
1 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue