Skip to content
Snippets Groups Projects
Unverified Commit 33bcf70b authored by Nikolay Vasilchuk's avatar Nikolay Vasilchuk Committed by GitHub
Browse files

Add Starline Service Mode switch (#105741)


* Starline Service Mode switch

* Update homeassistant/components/starline/strings.json

Co-authored-by: default avatarJoost Lekkerkerker <joostlek@outlook.com>

---------

Co-authored-by: default avatarJoost Lekkerkerker <joostlek@outlook.com>
parent c7f6ab24
No related branches found
No related tags found
No related merge requests found
......@@ -136,6 +136,7 @@ class StarlineAccount:
model=device.typename,
name=device.name,
sw_version=device.fw_version,
configuration_url="https://starline-online.ru/",
)
@staticmethod
......
......@@ -104,6 +104,9 @@
},
"horn": {
"name": "Horn"
},
"service_mode": {
"name": "Service mode"
}
},
"button": {
......
......@@ -56,6 +56,12 @@ SWITCH_TYPES: tuple[StarlineSwitchEntityDescription, ...] = (
icon_on="mdi:bullhorn-outline",
icon_off="mdi:bullhorn-outline",
),
StarlineSwitchEntityDescription(
key="valet",
translation_key="service_mode",
icon_on="mdi:wrench-clock",
icon_off="mdi:car-wrench",
),
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment