@@ -392,6 +392,48 @@ class TeslemetryBinarySensorEntityDescription(BinarySensorEntityDescription):
392392 streaming_firmware = "2024.44.32" ,
393393 entity_registry_enabled_default = False ,
394394 ),
395+ TeslemetryBinarySensorEntityDescription (
396+ key = "lights_hazards_active" ,
397+ streaming_key = Signal .LIGHTS_HAZARDS_ACTIVE ,
398+ entity_registry_enabled_default = False ,
399+ entity_category = EntityCategory .DIAGNOSTIC ,
400+ streaming_firmware = "2025.2.6" ,
401+ ),
402+ TeslemetryBinarySensorEntityDescription (
403+ key = "lights_turn_signal" ,
404+ streaming_key = Signal .LIGHTS_TURN_SIGNAL ,
405+ entity_registry_enabled_default = False ,
406+ entity_category = EntityCategory .DIAGNOSTIC ,
407+ streaming_firmware = "2025.2.6" ,
408+ ),
409+ TeslemetryBinarySensorEntityDescription (
410+ key = "lights_high_beams" ,
411+ streaming_key = Signal .LIGHTS_HIGH_BEAMS ,
412+ entity_registry_enabled_default = False ,
413+ entity_category = EntityCategory .DIAGNOSTIC ,
414+ streaming_firmware = "2025.2.6" ,
415+ ),
416+ TeslemetryBinarySensorEntityDescription (
417+ key = "sunroof_installed" ,
418+ streaming_key = Signal .SUNROOF_INSTALLED ,
419+ entity_registry_enabled_default = False ,
420+ entity_category = EntityCategory .DIAGNOSTIC ,
421+ streaming_firmware = "2025.2.6" ,
422+ ),
423+ TeslemetryBinarySensorEntityDescription (
424+ key = "seat_vent_enabled" ,
425+ streaming_key = Signal .SEAT_VENT_ENABLED ,
426+ entity_registry_enabled_default = False ,
427+ entity_category = EntityCategory .DIAGNOSTIC ,
428+ streaming_firmware = "2025.2.6" ,
429+ ),
430+ TeslemetryBinarySensorEntityDescription (
431+ key = "rear_defrost_enabled" ,
432+ streaming_key = Signal .REAR_DEFROST_ENABLED ,
433+ entity_registry_enabled_default = False ,
434+ entity_category = EntityCategory .DIAGNOSTIC ,
435+ streaming_firmware = "2025.2.6" ,
436+ ),
395437)
396438
397439ENERGY_LIVE_DESCRIPTIONS : tuple [BinarySensorEntityDescription , ...] = (
@@ -415,6 +457,7 @@ async def async_setup_entry(
415457 entities = []
416458 for vehicle in entry .runtime_data .vehicles :
417459 for description in VEHICLE_DESCRIPTIONS :
460+ print (not vehicle .api .pre2021 , description .streaming_key , vehicle .firmware , description .streaming_firmware ,vehicle .firmware >= description .streaming_firmware )
418461 if not vehicle .api .pre2021 and description .streaming_key and vehicle .firmware >= description .streaming_firmware :
419462 entities .append (TeslemetryVehicleStreamingBinarySensorEntity (vehicle , description ))
420463 elif description .polling :
0 commit comments