@@ -975,7 +975,7 @@ sections:
975975 - type : custom:button-card
976976 template :
977977 - area_base_overlay
978- entity : switch.xpb_358_pre_entry_climate_control
978+ entity : switch.[LICENSE_PLATE]_pre_entry_climate_control
979979 tap_action :
980980 action : navigate
981981 navigation_path : /dashboard-persons/car
@@ -995,44 +995,45 @@ sections:
995995 - type : custom:mushroom-template-card
996996 entity : sensor.fuel_level
997997 primary : Fuel Level
998- secondary : ' {{ states('' sensor.xpb_358_fuel_level '' ) }}% | {{ states( '' sensor.xpb_358_range_liquid '' )
999- }} km range'
998+ secondary : ' {{ states('' sensor.[LICENSE_PLATE]_fuel_level '' ) }}%
999+ | {{ states( '' sensor.[LICENSE_PLATE]_range_liquid '' ) }} km range'
10001000 icon : mdi:gas-station
10011001 features_position : bottom
1002- color : " {% set fuel = states('sensor.xpb_358_fuel_level') | int \
1003- \ %} {% if fuel < 20 %}\n darkred\n {% elif fuel < 50 %}\n yellow \n \
1004- {% else %}\n darkgreen\n {% endif %}\n "
1002+ color : " {% set fuel = states('sensor.[LICENSE_PLATE]_fuel_level') \
1003+ \ | int %} {% if fuel < 20 %}\n darkred\n {% elif fuel < 50 %}\n \
1004+ \ yellow \n {% else %}\n darkgreen\n {% endif %}\n "
10051005 card_mod :
10061006 style : " ha-card {\n background: linear-gradient(\n to right,\n \
1007- \ orange {{ states('sensor.xpb_358_fuel_level ') }}%,\n \
1008- \ var(--card-background-color) {{ states('sensor.xpb_358_fuel_level ')\
1007+ \ orange {{ states('sensor.[LICENSE_PLATE]_fuel_level ') }}%,\n \
1008+ \ var(--card-background-color) {{ states('sensor.[LICENSE_PLATE]_fuel_level ')\
10091009 \ }}%\n );\n );\n background-size: 100% 100%;\n background-repeat:\
10101010 \ no-repeat;\n border-radius: 12px;\n }\n "
10111011 - type : custom:mushroom-template-card
10121012 entity : sensor.ev_battery_level
10131013 primary : EV Charge
1014- secondary : ' {{ states('' sensor.xpb_358_state_of_charge'' ) }}% |
1015- {{ states('' sensor.xpb_358_range_electric'' ) }} km range
1014+ secondary : ' {{ states('' sensor.[LICENSE_PLATE]_state_of_charge'' )
1015+ }}% | {{ states('' sensor.[LICENSE_PLATE]_range_electric'' ) }}
1016+ km range
10161017
10171018 '
10181019 icon : mdi:car-electric
10191020 tap_action :
10201021 action : more-info
10211022 hold_action :
10221023 action : more-info
1023- color : " {% set charge = states('sensor.xpb_358_state_of_charge ')\
1024+ color : " {% set charge = states('sensor.[LICENSE_PLATE]_state_of_charge ')\
10241025 \ | int %} {% if charge < 20 %}\n red\n {% elif charge < 50 %}\n \
10251026 \ yellow\n {% else %}\n lightgreen\n {% endif %}\n "
10261027 features_position : bottom
10271028 card_mod :
1028- style : " ha-card {\n --charge: {{ states('sensor.xpb_358_state_of_charge ')\
1029+ style : " ha-card {\n --charge: {{ states('sensor.[LICENSE_PLATE]_state_of_charge ')\
10291030 \ }}%;\n background: linear-gradient(\n to right,\n green\
10301031 \ var(--charge),\n var(--card-background-color) var(--charge)\n \
10311032 \ );\n background-size: 100% 100%;\n background-repeat: no-repeat;\n \
10321033 \ border-radius: 12px;\n }\n "
10331034 - type : custom:scheduler-card
10341035 include :
1035- - switch.xpb_358_pre_entry_climate_control
1036+ - switch.[LICENSE_PLATE]_pre_entry_climate_control
10361037 exclude : []
10371038 discover_existing : false
10381039 title : true
@@ -1067,8 +1068,8 @@ sections:
10671068 theme_mode : auto
10681069 card_mod :
10691070 style : " ha-card {\n /* Moves border logic here from original for border display\
1070- \ */\n {% if is_state('sensor.xpb_358_ignition_state ','4') %}\n border: \
1071- \ 3px solid rgba(36, 255, 0, 0.8);\n {% elif is_state('sensor.xpb_358_ignition_state ','2')\
1071+ \ */\n {% if is_state('sensor.[LICENSE_PLATE]_ignition_state ','4') %}\n \
1072+ \ border: 3px solid rgba(36, 255, 0, 0.8);\n {% elif is_state('sensor.[LICENSE_PLATE]_ignition_state ','2')\
10721073 \ %}\n border: 3px solid rgba(255, 163, 0, 0.8);\n {% else %}\n border:\
10731074 \ 0px solid rgba(0, 0, 0, 0);\n {% endif %}\n }\n "
10741075 style :
@@ -1079,7 +1080,7 @@ sections:
10791080 z-index : 4
10801081 - type : conditional
10811082 conditions :
1082- - entity : device_tracker.xbp_358_device_tracker
1083+ - entity : device_tracker.[LICENSE_PLATE]_device_tracker
10831084 state : home
10841085 elements :
10851086 - type : image
@@ -1092,7 +1093,7 @@ sections:
10921093 z-index : 2
10931094 - type : conditional
10941095 conditions :
1095- - entity : device_tracker.xbp_358_device_tracker
1096+ - entity : device_tracker.[LICENSE_PLATE]_device_tracker
10961097 state : not_home
10971098 elements :
10981099 - type : image
@@ -1129,7 +1130,7 @@ sections:
11291130 container-type : inline-size
11301131 - type : custom:button-card
11311132 template : area_text_element
1132- entity : sensor.xpb_358_state_of_charge
1133+ entity : sensor.[LICENSE_PLATE]_state_of_charge
11331134 show_name : false
11341135 show_icon : false
11351136 show_state : true
@@ -1157,7 +1158,7 @@ sections:
11571158 styles :
11581159 icon :
11591160 - color : ' #088CF8'
1160- - animation : " [[[\n if (states['binary_sensor.xpb_358_charging_active '].state\
1161+ - animation : " [[[\n if (states['binary_sensor.[LICENSE_PLATE]_charging_active '].state\
11611162 \ == 'on') {\n return 'blink 1s ease infinite';\n } else {\n \
11621163 \ return 'none';\n }\n ]]]\n "
11631164 - operator : ==
@@ -1167,7 +1168,7 @@ sections:
11671168 - display : none
11681169 - type : custom:button-card
11691170 template : area_status_indicator
1170- entity : binary_sensor.xpb_358_park_brake_status
1171+ entity : binary_sensor.[LICENSE_PLATE]_park_brake_status
11711172 layout : vertical
11721173 style :
11731174 top : 75%
@@ -1188,7 +1189,7 @@ sections:
11881189 - display : none
11891190 - type : custom:button-card
11901191 template : area_status_indicator
1191- entity : lock.xpb_358_lock
1192+ entity : lock.[LICENSE_PLATE]_lock
11921193 icon : mdi:lock-open-variant
11931194 layout : vertical
11941195 style :
@@ -1211,7 +1212,7 @@ sections:
12111212 - display : none
12121213 - type : custom:button-card
12131214 template : area_status_indicator
1214- entity : binary_sensor.xpb_358_windows_closed
1215+ entity : binary_sensor.[LICENSE_PLATE]_windows_closed
12151216 layout : vertical
12161217 style :
12171218 top : 75%
@@ -1233,7 +1234,7 @@ sections:
12331234 - display : none
12341235 - type : custom:button-card
12351236 template : area_status_indicator
1236- entity : binary_sensor.xpb_358_low_wash_water_warning
1237+ entity : binary_sensor.[LICENSE_PLATE]_low_wash_water_warning
12371238 layout : vertical
12381239 style :
12391240 top : 75%
@@ -1258,7 +1259,7 @@ sections:
12581259 \ %}\n }\n "
12591260 - type : custom:button-card
12601261 template : area_status_indicator
1261- entity : binary_sensor.xpb_358_tire_warning
1262+ entity : binary_sensor.[LICENSE_PLATE]_tire_warning
12621263 icon : mdi:tire
12631264 layout : vertical
12641265 style :
@@ -1281,7 +1282,7 @@ sections:
12811282 - display : none
12821283 - type : custom:button-card
12831284 template : area_status_indicator
1284- entity : switch.xpb_358_pre_entry_climate_control
1285+ entity : switch.[LICENSE_PLATE]_pre_entry_climate_control
12851286 icon : mdi:fan
12861287 layout : vertical
12871288 style :
0 commit comments