mirror of
https://github.com/esphome/aioesphomeapi.git
synced 2024-12-23 16:57:47 +01:00
Button device class (#146)
This commit is contained in:
parent
bdfa9d3c13
commit
3494f804c1
@ -992,6 +992,7 @@ message ListEntitiesButtonResponse {
|
||||
string icon = 5;
|
||||
bool disabled_by_default = 6;
|
||||
EntityCategory entity_category = 7;
|
||||
string device_class = 8;
|
||||
}
|
||||
message ButtonCommandRequest {
|
||||
option (id) = 62;
|
||||
|
File diff suppressed because one or more lines are too long
@ -588,7 +588,7 @@ class SirenState(EntityState):
|
||||
# ==================== BUTTON ====================
|
||||
@dataclass(frozen=True)
|
||||
class ButtonInfo(EntityInfo):
|
||||
pass
|
||||
device_class: str = ""
|
||||
|
||||
|
||||
# ==================== INFO MAP ====================
|
||||
|
Loading…
Reference in New Issue
Block a user