Generic 'Vehicle' Card

Hi @Bellardita,

I love your cards. Please, can you share it?

Best regards

1 Like

I would also appreciate the code being shared if that would be possible, @Bellardita.

Thanks in advance! :smiley:

Hi @Karrelax , i have #3 brabus, sensor.smart_tank_flap_status works for you? I see always position “2”

Thanks a lot

Hi, @Bellardita,

Even if it is on a preliminary phase, could you please share your images and code?

I believe it would be very helpful for many of us. Thanks in advance.

sorry for the delay!
Nope, it doesnt. Now I have removed it, as it never changes. Lately I also have some issues with the charging power, but the integration is quite new, so I asume some errors may occur…

My little contribution for A Class W177:


And the code

- type: picture-elements
    elements:
      - type: conditional
        conditions:
          - entity: lock.gv428he_lock
            state: unlocked
        elements:
          - type: image
            entity: lock.gv428he_lock
            image: /local/image/voiture/cx9-all.png
            style:
              top: 50%
              left: 50%
              width: 100%
            filter: saturate(1)
            tap_action: none
          - type: image
            entity: lock.gv428he_lock
            image: /local/image/voiture/cx9-lock.svg
            style:
              top: 50%
              left: 50%
              width: 100%
            filter: saturate(1)
            tap_action: none
      - type: conditional
        conditions:
          - entity: binary_sensor.gv428he_windows_closed
            state: 'off'
        elements:
          - type: image
            image: /local/image/voiture/cx9-left.png
            style:
              top: 50%
              left: 50%
              width: 100%
            filter: saturate(1)
            tap_action: none
          - type: image
            entity: binary_sensor.gv428he_windows_closed
            image: /local/image/voiture/cx9-driver-door.svg
            style:
              top: 50%
              left: 50%
              width: 100%
            filter: saturate(1)
            tap_action: none
      - type: conditional
        conditions:
          - entity: sensor.gv428he_lock
            state: unlocked
          - entity: binary_sensor.gv428he_windows_closed
            state: 'off'
          - entity: binary_sensor.gv428he_windows_closed
            state: 'off'
          - entity: binary_sensor.gv428he_windows_closed
            state: 'off'
          - entity: binary_sensor.gv428he_windows_closed
            state: 'off'
          - entity: binary_sensor.gv428he_windows_closed
            state: 'off'
          - entity: binary_sensor.gv428he_windows_closed
            state: 'off'
        elements:
          - type: image
            image: /local/image/voiture/cx9-all.png
            style:
              top: 50%
              left: 50%
              width: 100%
            filter: saturate(1)
            tap_action: none
          - type: image
            image: /local/image/voiture/cx9-lock.svg
            style:
              top: 50%
              left: 50%
              width: 100%
            filter: saturate(1)
            tap_action: none
      - type: state-icon
        entity: sensor.gv428he_lock
        state_color: false
        style:
          top: 18%
          left: 25%
      - type: state-label
        entity: sensor.gv428he_lock
        style:
          top: 23.5%
          left: 5%
      - type: state-icon
        entity: binary_sensor.gv428he_tire_warning
        state_color: false
        style:
          top: 18%
          left: 5%
      - type: state-label
        entity: binary_sensor.gv428he_tire_warning
        style:
          top: 23.5%
          left: 25%
      - type: state-icon
        entity: device_tracker.gv428he_device_tracker
        state_color: false
        style:
          top: 18%
          left: 80%
      - type: state-label
        entity: device_tracker.gv428he_device_tracker
        style:
          top: 23.5%
          left: 80%
      - type: state-icon
        entity: sensor.gv428he_odometer
        style:
          top: 75%
          left: 80%
      - type: state-label
        entity: sensor.gv428he_odometer
        style:
          top: 81%
          left: 80%
      - type: state-icon
        entity: sensor.gv428he_fuel_level
        style:
          top: 75%
          left: 95%
      - type: state-label
        entity: sensor.gv428he_fuel_level
        style:
          top: 81%
          left: 95%
      - type: state-icon
        entity: binary_sensor.gv428he_windows_closed
        state_color: false
        style:
          top: 18%
          left: 15%
      - type: state-label
        entity: binary_sensor.gv428he_windows_closed
        style:
          top: 23.5%
          left: 15%
      - type: state-icon
        entity: binary_sensor.gv428he_low_brake_fluid_warning
        style:
          top: 75%
          left: 5%
      - type: state-label
        entity: binary_sensor.gv428he_low_brake_fluid_warning
        style:
          top: 81%
          left: 5%
      - type: state-icon
        entity: binary_sensor.gv428he_low_coolant_level_warning
        style:
          top: 75%
          left: 25%
      - type: state-label
        entity: binary_sensor.gv428he_low_coolant_level_warning
        style:
          top: 81%
          left: 25%
      - type: state-icon
        entity: binary_sensor.gv428he_low_wash_water_warning
        style:
          top: 75%
          left: 15%
      - type: state-label
        entity: binary_sensor.gv428he_low_wash_water_warning
        style:
          top: 81%
          left: 15%
      - type: state-icon
        entity: sensor.gv428he_tire_pressure_front_left
        style:
          top: 35%
          left: 35%
      - type: state-label
        entity: sensor.gv428he_tire_pressure_front_left
        style:
          top: 40%
          left: 35%
      - type: state-icon
        entity: sensor.gv428he_tire_pressure_front_right
        style:
          top: 35%
          left: 65%
      - type: state-label
        entity: sensor.gv428he_tire_pressure_front_right
        style:
          top: 40%
          left: 65%
      - type: state-icon
        entity: sensor.gv428he_tire_pressure_rear_left
        style:
          top: 75%
          left: 35%
      - type: state-label
        entity: sensor.gv428he_tire_pressure_rear_left
        style:
          top: 81%
          left: 35%
      - type: state-icon
        entity: sensor.gv428he_tire_pressure_rear_right
        style:
          top: 75%
          left: 65%
      - type: state-label
        entity: sensor.gv428he_tire_pressure_rear_right
        style:
          top: 81%
          left: 65%
    image: /local/image/voiture/cx9.svg
  - type: gauge
    entity: sensor.gv428he_range_liquid
    name: Autonomie
    unit: Kms
    needle: true
    min: 0
    max: 800
    segments:
      - from: 0
        color: red
      - from: 160
        color: orange
      - from: 320
        color: yellow
      - from: 480
        color: green
      - from: 640
        color: lightgreen

Hi, i’m very interested to your very beautiful card.