Hallo,
gibt es nee Möglichkeit die Icons in " state-icon" durch umschaltende von Icons zu ersetzen?
Gruß Sascha
type: horizontal-stack
cards:
- type: vertical-stack
cards:
- type: picture-elements
image: /local/img/vw_id3_rear_right.png
style: |
ha-card {
border-radius: 10px;
border: solid 1px rgba(100,100,100,0.3);
box-shadow: 3px 3px rgba(0,0,0,0.4);
overflow: hidden;
}
elements:
- type: state-label
entity: input_text.leer_2
prefix: Laden
style:
font-size: 125%
color: green
left: 10%
top: 90%
font-weight: bold
- type: state-icon
entity: sensor.id_3_pro_performance_plug_connection_state
tap_action: more_info
style:
color: green
left: 10%
top: 5%
- type: state-label
entity: sensor.id_3_pro_performance_plug_connection_state
style:
color: green
left: 10%
top: 12%
- type: icon
icon: mdi:ev-plug-type2
entity: sensor.id_3_pro_performance_charging_state
tap_action: more_info
style:
color: green
left: 30%
top: 5%
- type: state-label
entity: sensor.id_3_pro_performance_charging_state
style:
color: green
left: 30%
top: 12%
- type: icon
icon: mdi:battery-charging
entity: sensor.id_3_pro_performance_remaining_charging_time
tap_action: more_info
style:
color: green
left: 50%
top: 5%
- type: state-label
entity: sensor.id_3_pro_performance_remaining_charging_time
style:
color: green
left: 50%
top: 12%
- type: icon
icon: mdi:ev-station
entity: sensor.id_3_pro_performance_state_of_charge
tap_action: more_info
style:
color: green
left: 70%
top: 5%
- type: state-label
entity: sensor.id_3_pro_performance_state_of_charge
style:
color: green
left: 70%
top: 12%
- type: icon
icon: mdi:map-marker-distance
entity: sensor.id_3_pro_performance_range
tap_action: more_info
style:
color: green
left: 90%
top: 5%
- type: state-label
entity: sensor.id_3_pro_performance_range
style:
color: green
left: 90%
top: 12%
- type: icon
icon: mdi:car-electric
entity: sensor.id_3_pro_performance_max_charge_current_ac
tap_action: more_info
style:
color: green
left: 90%
top: 25%
- type: state-label
entity: sensor.id_3_pro_performance_max_charge_current_ac
style:
color: green
left: 90%
top: 32%
- type: state-badge
entity: sensor.id_3_pro_performance_plug_lock_state
style:
color: green
left: 65%
top: 45%
'--ha-label-badge-title-font-size': 0em
- type: state-icon
entity: >-
binary_sensor.id_3_pro_performance_insufficient_battery_level_warning
tap_action: more_info
style:
color: green
left: 50%
top: 83%
- type: state-label
entity: >-
binary_sensor.id_3_pro_performance_insufficient_battery_level_warning
style:
color: green
left: 50%
top: 90%
- type: state-icon
entity: sensor.id_3_pro_performance_charge_power
tap_action: more_info
style:
color: green
left: 70%
top: 83%
- type: state-label
entity: sensor.id_3_pro_performance_charge_power
style:
color: green
left: 70%
top: 90%
- type: state-icon
entity: sensor.id_3_pro_performance_charge_rate
tap_action: more_info
style:
color: green
left: 90%
top: 83%
- type: state-label
entity: sensor.id_3_pro_performance_charge_rate
style:
color: green
left: 90%
top: 90%
- type: picture-elements
image: /local/img/vw_id3_right_rear.png
style: |
ha-card {
border-radius: 10px;
border: solid 1px rgba(100,100,100,0.3);
box-shadow: 3px 3px rgba(0,0,0,0.4);
overflow: hidden;
}
elements:
- type: state-label
entity: input_text.leer_2
prefix: hinten/rechts
style:
font-size: 125%
color: green
left: 20%
top: 90%
font-weight: bold
- type: state-icon
entity: sensor.id_3_pro_performance_unit_in_car
tap_action: more_info
style:
color: green
left: 10%
top: 5%
- type: state-label
entity: sensor.id_3_pro_performance_unit_in_car
style:
color: green
left: 10%
top: 12%
- type: icon
icon: mdi:car-back
entity: sensor.id_3_pro_performance_climatisation_state
tap_action: more_info
style:
color: green
left: 30%
top: 5%
- type: state-label
entity: sensor.id_3_pro_performance_climatisation_state
style:
color: green
left: 30%
top: 12%
- type: icon
icon: mdi:heating-coil
entity: sensor.id_3_pro_performance_remaining_climatisation_time
tap_action: more_info
style:
color: green
left: 50%
top: 5%
- type: state-label
entity: sensor.id_3_pro_performance_remaining_climatisation_time
style:
color: green
left: 50%
top: 12%
- type: icon
icon: mdi:car-seat-cooler
entity: >-
binary_sensor.id_3_pro_performance_climatisation_without_external_power
tap_action: more_info
style:
color: green
left: 70%
top: 5%
- type: state-label
entity: >-
binary_sensor.id_3_pro_performance_climatisation_without_external_power
style:
color: green
left: 70%
top: 12%
- type: icon
icon: mdi:map-marker-distance
entity: binary_sensor.id_3_pro_performance_climatisation_at_unlock
tap_action: more_info
style:
color: green
left: 90%
top: 5%
- type: state-label
entity: binary_sensor.id_3_pro_performance_climatisation_at_unlock
style:
color: green
left: 90%
top: 12%
- type: icon
icon: mdi:air-conditioner
entity: sensor.id_3_pro_performance_target_temperature
tap_action: more_info
style:
color: green
left: 90%
top: 23%
- type: state-label
entity: sensor.id_3_pro_performance_target_temperature
style:
color: green
left: 90%
top: 30%
- type: icon
icon: mdi:air-conditioner
entity: sensor.id_3_pro_performance_remaining_climatisation_time
tap_action: more_info
style:
color: green
left: 90%
top: 83%
- type: state-label
entity: sensor.id_3_pro_performance_remaining_climatisation_time
style:
color: green
left: 90%
top: 90%
- type: icon
icon: mdi:air-conditioner
entity: sensor.id_3_pro_performance_remaining_climatisation_time
tap_action: more_info
style:
color: green
left: 70%
top: 83%
- type: state-label
entity: sensor.id_3_pro_performance_remaining_climatisation_time
style:
color: green
left: 70%
top: 90%
- type: icon
icon: mdi:air-conditioner
entity: button.id_3_pro_performance_start_climate
tap_action: more_info
style:
color: green
left: 50%
top: 83%
- type: state-label
entity: button.id_3_pro_performance_start_climate
style:
color: green
left: 50%
top: 90%
- type: state-badge
entity: sensor.id_3_pro_performance_door_front_right_lock_status
style:
left: 75%
top: 48%
'--ha-label-badge-title-font-size': 0em
- type: state-badge
entity: sensor.id_3_pro_performance_door_front_right_open_status
style:
left: 75%
top: 60%
'--ha-label-badge-title-font-size': 0em
- type: state-badge
entity: sensor.id_3_pro_performance_window_front_right_open_status
style:
left: 70%
top: 38%
'--ha-label-badge-title-font-size': 0em
- type: state-badge
entity: sensor.id_3_pro_performance_door_rear_right_lock_status
style:
left: 62%
top: 48%
'--ha-label-badge-title-font-size': 0em
- type: state-badge
entity: sensor.id_3_pro_performance_door_rear_right_open_status
style:
left: 62%
top: 60%
'--ha-label-badge-title-font-size': 0em
- type: state-badge
entity: sensor.id_3_pro_performance_window_rear_right_open_status
style:
left: 56%
top: 38%
'--ha-label-badge-title-font-size': 0em
- type: state-badge
entity: sensor.id_3_pro_performance_sunroof_cover_status
style:
left: 50%
top: 22%
'--ha-label-badge-title-font-size': 0em
- type: state-badge
entity: sensor.id_3_pro_performance_sunroof_open_status
style:
left: 60%
top: 22%
'--ha-label-badge-title-font-size': 0em
- type: state-badge
entity: binary_sensor.id_3_pro_performance_rear_window_heating_state
style:
left: 28%
top: 35%
'--ha-label-badge-title-font-size': 0em
- type: state-badge
entity: sensor.id_3_pro_performance_trunk_lock_status
style:
left: 15%
top: 48%
'--ha-label-badge-title-font-size': 0em
- type: state-badge
entity: sensor.id_3_pro_performance_trunk_open_status
style:
left: 30%
top: 48%
'--ha-label-badge-title-font-size': 0em
- type: vertical-stack
cards:
- type: picture-elements
image: /local/img/vw_id3_front_left.png
style: |
ha-card {
border-radius: 10px;
border: solid 1px rgba(100,100,100,0.3);
box-shadow: 3px 3px rgba(0,0,0,0.4);
overflow: hidden;
}
elements:
- type: state-label
entity: input_text.leer_2
prefix: vorne/links
style:
font-size: 125%
color: green
left: 18%
top: 90%
font-weight: bold
- type: state-icon
entity: binary_sensor.id_3_pro_performance_car_is_online
tap_action: more_info
style:
color: green
left: 10%
top: 5%
- type: state-label
entity: binary_sensor.id_3_pro_performance_car_is_online
style:
color: green
left: 10%
top: 12%
- type: state-icon
entity: binary_sensor.id_3_pro_performance_car_is_active
tap_action: more_info
style:
color: green
left: 30%
top: 5%
- type: state-label
entity: binary_sensor.id_3_pro_performance_car_is_active
style:
color: green
left: 30%
top: 12%
- type: state-icon
entity: sensor.id_3_pro_performance_door_lock_status
tap_action: more_info
style:
color: green
left: 50%
top: 5%
- type: state-label
entity: sensor.id_3_pro_performance_door_lock_status
style:
color: green
left: 50%
top: 12%
- type: state-icon
entity: device_tracker.id_3_pro_performance_tracker
tap_action: more_info
style:
color: green
left: 70%
top: 5%
- type: state-label
entity: device_tracker.id_3_pro_performance_tracker
style:
color: green
left: 70%
top: 12%
- type: state-icon
entity: sensor.id_3_pro_performance_odometer
tap_action: more_info
style:
color: green
left: 90%
top: 5%
- type: state-label
entity: sensor.id_3_pro_performance_odometer
style:
color: green
left: 90%
top: 12%
- type: state-icon
entity: sensor.id_3_pro_performance_health_inspection
tap_action: more_info
style:
color: green
left: 70%
top: 83%
- type: state-label
entity: sensor.id_3_pro_performance_health_inspection
style:
color: green
left: 70%
top: 90%
- type: state-icon
entity: sensor.id_3_pro_performance_overall_status
tap_action: more_info
style:
color: green
left: 90%
top: 83%
- type: state-label
entity: sensor.id_3_pro_performance_overall_status
style:
color: green
left: 90%
top: 90%
- type: state-badge
entity: binary_sensor.id_3_pro_performance_lights_left
style:
left: 40%
top: 50%
'--ha-label-badge-title-font-size': 0em
- type: state-badge
entity: binary_sensor.id_3_pro_performance_lights_right
style:
left: 15%
top: 50%
'--ha-label-badge-title-font-size': 0em
- type: state-badge
entity: sensor.id_3_pro_performance_bonnet_open_status
style:
left: 35%
top: 60%
'--ha-label-badge-title-font-size': 0em
- type: state-badge
entity: sensor.id_3_pro_performance_bonnet_lock_status
style:
left: 20%
top: 60%
'--ha-label-badge-title-font-size': 0em
- type: state-badge
entity: binary_sensor.id_3_pro_performance_window_heating_enabled
style:
left: 42%
top: 35%
'--ha-label-badge-title-font-size': 0em
- type: state-badge
entity: binary_sensor.id_3_pro_performance_zone_front_left_enabled
style:
left: 50%
top: 42%
'--ha-label-badge-title-font-size': 0em
- type: state-badge
entity: binary_sensor.id_3_pro_performance_zone_front_right_enabled
style:
left: 32%
top: 42%
'--ha-label-badge-title-font-size': 0em
- type: state-badge
entity: sensor.id_3_pro_performance_door_front_left_lock_status
style:
left: 68%
top: 48%
'--ha-label-badge-title-font-size': 0em
- type: state-badge
entity: sensor.id_3_pro_performance_door_front_left_open_status
style:
left: 68%
top: 60%
'--ha-label-badge-title-font-size': 0em
- type: state-badge
entity: sensor.id_3_pro_performance_window_front_left_open_status
style:
left: 66%
top: 35%
'--ha-label-badge-title-font-size': 0em
- type: state-badge
entity: sensor.id_3_pro_performance_door_rear_left_lock_status
style:
left: 80%
top: 48%
'--ha-label-badge-title-font-size': 0em
- type: state-badge
entity: sensor.id_3_pro_performance_door_rear_left_open_status
style:
left: 80%
top: 60%
'--ha-label-badge-title-font-size': 0em
- type: state-badge
entity: sensor.id_3_pro_performance_window_rear_left_open_status
style:
left: 77%
top: 35%
'--ha-label-badge-title-font-size': 0em
- type: vertical-stack
cards:
- type: entities
entities:
- entity: sensor.id_3_pro_performance_state_of_charge
name: Batterie in %
secondary_info: last-updated
- entity: number.id_3_pro_performance_target_state_of_charge
name: Laden bis %
- type: vertical-stack
cards:
- type: entities
entities:
- entity: button.id_3_pro_performance_start_climate
name: Standklimatisierung Ein/Aus
secondary_info: last-updated
- entity: number.id_3_pro_performance_target_climate_temperature
name: Solltemperatur

