mirror of
https://github.com/esphome/aioesphomeapi.git
synced 2024-11-26 12:45:26 +01:00
Add supports_stop
to CoverInfo
(#276)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
parent
1af3c0ae1a
commit
c62a0eff3b
@ -283,6 +283,7 @@ message ListEntitiesCoverResponse {
|
|||||||
bool disabled_by_default = 9;
|
bool disabled_by_default = 9;
|
||||||
string icon = 10;
|
string icon = 10;
|
||||||
EntityCategory entity_category = 11;
|
EntityCategory entity_category = 11;
|
||||||
|
bool supports_stop = 12;
|
||||||
}
|
}
|
||||||
|
|
||||||
enum LegacyCoverState {
|
enum LegacyCoverState {
|
||||||
|
File diff suppressed because one or more lines are too long
@ -161,6 +161,7 @@ class BinarySensorState(EntityState):
|
|||||||
@dataclass(frozen=True)
|
@dataclass(frozen=True)
|
||||||
class CoverInfo(EntityInfo):
|
class CoverInfo(EntityInfo):
|
||||||
assumed_state: bool = False
|
assumed_state: bool = False
|
||||||
|
supports_stop: bool = False
|
||||||
supports_position: bool = False
|
supports_position: bool = False
|
||||||
supports_tilt: bool = False
|
supports_tilt: bool = False
|
||||||
device_class: str = ""
|
device_class: str = ""
|
||||||
|
Loading…
Reference in New Issue
Block a user