mirror of
https://github.com/home-assistant/core.git
synced 2025-04-29 19:57:52 +00:00
Add doors and charge cable binary sensors to Tessie (#107172)
* Add doors * Update homeassistant/components/tessie/strings.json Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> * Add charge cable --------- Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
This commit is contained in:
parent
02ac985120
commit
b711c491d5
@ -54,6 +54,12 @@ DESCRIPTIONS: tuple[TessieBinarySensorEntityDescription, ...] = (
|
|||||||
key="charge_state_trip_charging",
|
key="charge_state_trip_charging",
|
||||||
entity_category=EntityCategory.DIAGNOSTIC,
|
entity_category=EntityCategory.DIAGNOSTIC,
|
||||||
),
|
),
|
||||||
|
TessieBinarySensorEntityDescription(
|
||||||
|
key="charge_state_conn_charge_cable",
|
||||||
|
is_on=lambda x: x != "<invalid>",
|
||||||
|
entity_category=EntityCategory.DIAGNOSTIC,
|
||||||
|
device_class=BinarySensorDeviceClass.CONNECTIVITY,
|
||||||
|
),
|
||||||
TessieBinarySensorEntityDescription(
|
TessieBinarySensorEntityDescription(
|
||||||
key="climate_state_auto_seat_climate_left",
|
key="climate_state_auto_seat_climate_left",
|
||||||
device_class=BinarySensorDeviceClass.HEAT,
|
device_class=BinarySensorDeviceClass.HEAT,
|
||||||
@ -130,6 +136,26 @@ DESCRIPTIONS: tuple[TessieBinarySensorEntityDescription, ...] = (
|
|||||||
device_class=BinarySensorDeviceClass.WINDOW,
|
device_class=BinarySensorDeviceClass.WINDOW,
|
||||||
entity_category=EntityCategory.DIAGNOSTIC,
|
entity_category=EntityCategory.DIAGNOSTIC,
|
||||||
),
|
),
|
||||||
|
TessieBinarySensorEntityDescription(
|
||||||
|
key="vehicle_state_df",
|
||||||
|
device_class=BinarySensorDeviceClass.DOOR,
|
||||||
|
entity_category=EntityCategory.DIAGNOSTIC,
|
||||||
|
),
|
||||||
|
TessieBinarySensorEntityDescription(
|
||||||
|
key="vehicle_state_dr",
|
||||||
|
device_class=BinarySensorDeviceClass.DOOR,
|
||||||
|
entity_category=EntityCategory.DIAGNOSTIC,
|
||||||
|
),
|
||||||
|
TessieBinarySensorEntityDescription(
|
||||||
|
key="vehicle_state_pf",
|
||||||
|
device_class=BinarySensorDeviceClass.DOOR,
|
||||||
|
entity_category=EntityCategory.DIAGNOSTIC,
|
||||||
|
),
|
||||||
|
TessieBinarySensorEntityDescription(
|
||||||
|
key="vehicle_state_pr",
|
||||||
|
device_class=BinarySensorDeviceClass.DOOR,
|
||||||
|
entity_category=EntityCategory.DIAGNOSTIC,
|
||||||
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@ -249,6 +249,9 @@
|
|||||||
"charge_state_trip_charging": {
|
"charge_state_trip_charging": {
|
||||||
"name": "Trip charging"
|
"name": "Trip charging"
|
||||||
},
|
},
|
||||||
|
"charge_state_conn_charge_cable": {
|
||||||
|
"name": "Charge cable"
|
||||||
|
},
|
||||||
"climate_state_auto_seat_climate_left": {
|
"climate_state_auto_seat_climate_left": {
|
||||||
"name": "Auto seat climate left"
|
"name": "Auto seat climate left"
|
||||||
},
|
},
|
||||||
@ -293,6 +296,18 @@
|
|||||||
},
|
},
|
||||||
"vehicle_state_rp_window": {
|
"vehicle_state_rp_window": {
|
||||||
"name": "Rear passenger window"
|
"name": "Rear passenger window"
|
||||||
|
},
|
||||||
|
"vehicle_state_df": {
|
||||||
|
"name": "Front driver door"
|
||||||
|
},
|
||||||
|
"vehicle_state_pf": {
|
||||||
|
"name": "Front passenger door"
|
||||||
|
},
|
||||||
|
"vehicle_state_dr": {
|
||||||
|
"name": "Rear driver door"
|
||||||
|
},
|
||||||
|
"vehicle_state_pr": {
|
||||||
|
"name": "Rear passenger door"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"button": {
|
"button": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user