Fix mqtt switch types (#118193)
Remove unused code, add missing type for _is_on_map
This commit is contained in:
parent
0588806922
commit
039bc3501b
1 changed files with 1 additions and 2 deletions
|
@ -78,8 +78,7 @@ class MqttSwitch(MqttEntity, SwitchEntity, RestoreEntity):
|
|||
_entity_id_format = switch.ENTITY_ID_FORMAT
|
||||
|
||||
_optimistic: bool
|
||||
_state_on: str
|
||||
_state_off: str
|
||||
_is_on_map: dict[str | bytes, bool | None]
|
||||
_value_template: Callable[[ReceivePayloadType], ReceivePayloadType]
|
||||
|
||||
@staticmethod
|
||||
|
|
Loading…
Add table
Reference in a new issue