Add starline run sensor (#130444)

This commit is contained in:
Nikolay Vasilchuk 2024-11-15 18:21:23 +03:00 committed by GitHub
parent 58087d67d1
commit 23bac67550
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 11 additions and 0 deletions

View File

@ -41,6 +41,11 @@ BINARY_SENSOR_TYPES: tuple[BinarySensorEntityDescription, ...] = (
translation_key="doors",
device_class=BinarySensorDeviceClass.LOCK,
),
BinarySensorEntityDescription(
key="run",
translation_key="is_running",
device_class=BinarySensorDeviceClass.RUNNING,
),
BinarySensorEntityDescription(
key="hfree",
translation_key="handsfree",

View File

@ -12,6 +12,9 @@
},
"moving_ban": {
"default": "mdi:car-off"
},
"is_running": {
"default": "mdi:speedometer"
}
},
"button": {

View File

@ -63,6 +63,9 @@
},
"moving_ban": {
"name": "Moving ban"
},
"is_running": {
"name": "Running"
}
},
"device_tracker": {