mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-08-02 00:44:31 +02:00
expanded switch entity description
This commit is contained in:
parent
81dd82ac64
commit
2d94aceedf
1 changed files with 5 additions and 0 deletions
|
@ -141,11 +141,16 @@ class MikrotikSwitchEntityDescription(SwitchEntityDescription):
|
|||
|
||||
device_class: str = SwitchDeviceClass.SWITCH
|
||||
|
||||
icon_enabled: str = ""
|
||||
icon_disabled: str = ""
|
||||
ha_group: str = ""
|
||||
ha_connection: str = ""
|
||||
ha_connection_value: str = ""
|
||||
data_path: str = ""
|
||||
data_attribute: str = ""
|
||||
data_is_on: str = "enabled"
|
||||
data_switch_path: str = ""
|
||||
data_switch_parameter: str = "disabled"
|
||||
data_name: str = ""
|
||||
data_uid: str = ""
|
||||
data_reference: str = ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue