mirror of
https://github.com/home-assistant/core.git
synced 2025-07-08 13:57:10 +00:00
Add test button for SmokeSensor in Overkiz (#133476)
This commit is contained in:
parent
fc4100833e
commit
3bb6256572
@ -4,7 +4,7 @@ from __future__ import annotations
|
||||
|
||||
from dataclasses import dataclass
|
||||
|
||||
from pyoverkiz.enums import OverkizCommand
|
||||
from pyoverkiz.enums import OverkizCommand, OverkizCommandParam
|
||||
from pyoverkiz.types import StateType as OverkizStateType
|
||||
|
||||
from homeassistant.components.button import (
|
||||
@ -83,6 +83,14 @@ BUTTON_DESCRIPTIONS: list[OverkizButtonDescription] = [
|
||||
name="Toggle",
|
||||
icon="mdi:sync",
|
||||
),
|
||||
# SmokeSensor
|
||||
OverkizButtonDescription(
|
||||
key=OverkizCommand.CHECK_EVENT_TRIGGER,
|
||||
press_args=OverkizCommandParam.SHORT,
|
||||
name="Test",
|
||||
icon="mdi:smoke-detector",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
),
|
||||
]
|
||||
|
||||
SUPPORTED_COMMANDS = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user