Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- title: EVSE
- path: evse
- icon: mdi:ev-station
- type: sections
- sections:
- - type: grid
- cards:
- - type: custom:mushroom-chips-card
- chips:
- - type: back
- alignment: start
- grid_options:
- columns: 1
- rows: auto
- - type: custom:streamline-card
- template: badges_template
- variables: {}
- grid_options:
- columns: 42
- rows: auto
- column_span: 4
- - type: grid
- cards:
- - type: heading
- icon: mdi:ev-station
- heading: OpenEVSE
- heading_style: subtitle
- - type: entities
- entities:
- - type: custom:hui-element
- card_type: horizontal-stack
- cards:
- - type: horizontal-stack
- cards:
- - type: heading
- icon: ""
- heading_style: title
- - type: custom:button-card
- entity: input_text.openevse_override_state
- aspect_ratio: 2
- color_type: card
- show_label: true
- show_name: false
- icon: fas:bolt
- name: Auto
- tap_action:
- action: call-service
- service: openevse.set_override
- target:
- device_id: 1a8619b7019b8e42ea0f560a0c008fc0
- data:
- state: active
- state:
- - value: active
- color: rgb(24.71% 82.35% 56.47%)
- styles:
- icon:
- - color: >-
- [[[ if
- (states['sensor.openevse_charging_status'].state
- === 'charging') return 'yellow'; else return
- 'white'; ]]]
- - operator: default
- color: rgba(0, 0, 0, 0.0)
- styles:
- icon:
- - color: rgba(24.71% 82.35% 56.47% 1)
- styles:
- card:
- - border-radius: 10%
- - type: custom:button-card
- entity: input_text.openevse_override_state
- aspect_ratio: 2
- color_type: card
- show_label: true
- show_name: false
- icon: fas:robot
- name: Auto
- tap_action:
- action: call-service
- service: openevse.clear_override
- target:
- device_id: 1a8619b7019b8e42ea0f560a0c008fc0
- state:
- - value: auto
- color: rgb(19.61% 70.2% 83.14%)
- styles:
- icon:
- - color: >-
- [[[ if
- (states['sensor.openevse_charging_status'].state
- === 'charging') return 'yellow'; else return
- 'white'; ]]]
- - operator: default
- color: rgba(0,0,0,0.0)
- styles:
- icon:
- - color: rgba(19.61% 70.2% 83.14% 1)
- styles:
- card:
- - border-radius: 10%
- - type: custom:button-card
- entity: input_text.openevse_override_state
- aspect_ratio: 2
- color_type: card
- show_label: true
- show_name: false
- icon: fas:ban
- name: Auto
- tap_action:
- action: call-service
- service: openevse.set_override
- target:
- device_id: 1a8619b7019b8e42ea0f560a0c008fc0
- data:
- state: disabled
- state:
- - value: disabled
- color: rgb(6.67% 41.57% 53.33%)
- styles:
- icon:
- - color: white
- - operator: default
- color: rgba(0,0,0,0.0)
- styles:
- icon:
- - color: white
- styles:
- card:
- - border-radius: 10%
- - type: heading
- icon: ""
- heading_style: title
- - type: custom:hui-element
- card_type: custom:mushroom-chips-card
- chips:
- - type: entity
- entity: sensor.openevse_station_status
- card_mod:
- style: |
- ha-card {
- {% if states("sensor.openevse_station_status") == 'active' %}
- --chip-background: rgb(24.71% 82.35% 56.47%);
- {% elif states("sensor.openevse_station_status") == 'disabled' %}
- --chip-background: rgb(6.67% 41.57% 53.33%);
- {% endif %}
- border-radius: 10% !important;
- }
- - type: entity
- entity: sensor.openevse_charging_status
- card_mod:
- style: |
- ha-card {
- {% if states("sensor.openevse_charging_status") == 'connected'%}
- --chip-background: rgb(24.71% 82.35% 56.47%);
- {% elif states("sensor.openevse_charging_status") == 'charging'%}
- --chip-background: rgb(19.61% 70.2% 83.14%);
- {% elif states("sensor.openevse_charging_status") == 'not connected' or states("sensor.openevse_charging_status") == 'sleeping' %}
- --chip-background: rgb(6.67% 41.57% 53.33%);
- {% endif %}
- border-radius: 10% !important;
- }
- - type: entity
- entity: binary_sensor.openevse_vehicle_connected_2
- card_mod:
- style: |
- ha-card {
- {% if states("binary_sensor.openevse_vehicle_connected_2") == 'on' %}
- --chip-background: rgb(24.71% 82.35% 56.47%);
- {% elif states("binary_sensor.openevse_vehicle_connected_2") == 'off' %}
- --chip-background: rgb(6.67% 41.57% 53.33%);
- {% endif %}
- border-radius: 10% !important;
- }
- alignment: center
- - show_name: true
- show_icon: true
- show_state: true
- type: glance
- entities:
- - entity: sensor.openevse_charge_time_elapsed
- name: Temps écoulé
- - entity: sensor.openevse_time_left
- name: Temps réstant
- icon: mdi:timer-sand
- - entity: sensor.openevse_usage_this_session
- name: Session
- icon: mdi:ev-station
- columns: 3
- - type: horizontal-stack
- cards:
- - type: horizontal-stack
- cards:
- - type: gauge
- entity: number.openevse_charge_rate
- name: Consigne
- max: 32
- - type: gauge
- entity: sensor.ioniq_5_ev_battery_level
- name: SOC
- max: 100
- unit: "%"
- min: 1
- - type: entities
- entities:
- - entity: sensor.openevse_current_power_usage
- name: " "
- secondary_info: none
- - entity: sensor.openevse_charging_current
- name: " "
- show_header_toggle: true
- state_color: false
- - type: custom:mushroom-number-card
- entity: number.openevse_charge_rate
- name: Courant
- icon_color: blue
- fill_container: true
- grid_options:
- columns: 12
- rows: 2
- - type: entities
- entities:
- - entity: sensor.openevse_current_power_usage
- name: Puissance
- secondary_info: none
- - entity: sensor.openevse_charging_current
- name: Courant
- - entity: sensor.openevse_ambient_temperature
- name: Température
- column_span: 1
- - type: grid
- cards:
- - type: heading
- heading: IONIQ 5
- heading_style: subtitle
- icon: mdi:car
- - show_name: false
- show_icon: true
- show_state: true
- type: glance
- entities:
- - entity: sensor.ioniq_5_ev_battery_level
- - entity: sensor.ioniq_5_ev_range
- - entity: sensor.ioniq_5_last_updated_at
- grid_options:
- columns: 9
- rows: 2
- - show_name: false
- show_icon: true
- type: button
- tap_action:
- action: perform-action
- perform_action: kia_uvo.force_update
- target: {}
- data:
- device_id: 021d7599c5e63a8dd3afefcbc2b02376
- name: Refresh
- icon: mdi:refresh
- grid_options:
- columns: 3
- rows: 2
- - type: picture-elements
- image: /local/community/ioniq5-card/ioniqa/ioniq5-back.png
- elements:
- - type: image
- entity: lock.ioniq_5_door_lock
- image: /local/community/ioniq5-card/ioniqa/ioniq5-back.png
- style:
- left: 50%
- top: 50%
- width: 100%
- - type: image
- entity: sensor.ioniq_battery_dots
- tap_action:
- action: none
- image: /local/community/ioniq5-card/ioniqa/centre-squares.png
- state_image:
- "10": /local/community/ioniq5-card/ioniqa/10.png
- "20": /local/community/ioniq5-card/ioniqa/20.png
- "30": /local/community/ioniq5-card/ioniqa/30.png
- "40": /local/community/ioniq5-card/ioniqa/40.png
- "50": /local/community/ioniq5-card/ioniqa/50.png
- "60": /local/community/ioniq5-card/ioniqa/60.png
- "70": /local/community/ioniq5-card/ioniqa/70.png
- "80": /local/community/ioniq5-card/ioniqa/80.png
- "90": /local/community/ioniq5-card/ioniqa/90.png
- "100": /local/community/ioniq5-card/ioniqa/100.png
- style:
- left: 50%
- top: 50%
- width: 100%
- heigth: 100%
- style: |
- ha-card {
- box-shadow: none;
- }
- - type: state-label
- entity: sensor.ioniq_5_last_updated_at
- style:
- top: 51.5%
- left: 50%
- - type: image
- entity: binary_sensor.ioniq_5_engine
- tap_action:
- action: none
- image: /local/community/ioniq5-card/ioniqa/night-light.png
- state_image:
- "on": /local/community/ioniq5-card/ioniqa/night-light-on.png
- style:
- left: 50%
- top: 50%
- width: 100%
- heigth: 100%
- - type: image
- entity: device_tracker.ioniq5_device_tracker
- image: /local/community/ioniq5-card/ioniqa/backpanel.png
- style:
- left: 50%
- top: 50%
- width: 100%
- heigth: 100%
- - type: image
- entity: binary_sensor.ioniq_5_ev_battery_charge
- tap_action:
- action: none
- image: /local/community/ioniq5-card/ioniqa/brake-light.png
- state_image:
- "on": /local/community/ioniq5-card/ioniqa/brake-light-on.png
- "off": /local/community/ioniq5-card/ioniqa/brake-light.png
- style:
- left: 50%
- top: 50%
- width: 100%
- heigth: 100%
- - type: image
- entity: binary_sensor.ioniq_5_ev_battery_plug
- state_image:
- "off": /local/community/ioniq5-card/ioniqa/unplugged.png
- "on": /local/community/ioniq5-card/ioniqa/pluggedin.png
- style:
- top: 31%
- left: 88%
- width: 11%
- transform: initial
- - type: custom:button-card
- entity: lock.ioniq_5_door_lock
- name: Portes
- color: white
- tap_action:
- action: toggle
- haptic: medium
- hold_action:
- action: more-info
- haptic: medium
- styles:
- card:
- - aspect-ratio: 1/1
- - border-radius: 20px
- - size: 00%
- - box-shadow: none
- - background: transparent
- - border: none
- icon:
- - color: white
- grid:
- - grid-template-areas: "\"i\" \"n\""
- - grid-template-columns: 1fr
- name:
- - color: white
- - font-family: null
- state:
- - value: unlocked
- icon: mdi:lock-open-alert
- styles:
- icon:
- - color: red
- - animation: blink 2s ease infinite
- name:
- - color: red
- style:
- top: 13%
- left: 8%
- width: 20%
- - type: custom:button-card
- entity: sensor.ioniq_5_car_battery_level
- name: 12V
- show_name: false
- show_icon: false
- show_state: true
- hold_action:
- action: default
- styles:
- card:
- - aspect-ratio: 1/1
- - border-radius: 20px
- - size: 00%
- - border: none
- icon:
- - size: 100%
- name:
- - font-family: poxel
- - padding-right: 00%
- state:
- - font-family: null
- - font-size: 110%
- - color: |
- [[[
- if (entity.state <= 50) return 'red';
- else if (entity.state <= 75) return 'orange';
- else if (entity.state <= 100) return 'white';
- else return 'red';
- ]]]
- card_mod:
- class: soft-ui
- style: |
- ha-card {
- box-shadow: none;
- background: transparent;
- }
- style:
- top: 18%
- left: 89%
- transform: scale(1)
- - type: custom:button-card
- entity: sensor.ioniq_5_car_battery_level
- name: 12V
- show_name: false
- show_icon: true
- show_state: false
- hold_action:
- action: default
- styles:
- card:
- - aspect-ratio: 1/1
- - border-radius: 20px
- - size: 00%
- - border: none
- icon:
- - size: 100%
- - color: |
- [[[
- if (entity.state <= 50) return 'red';
- else if (entity.state <= 75) return 'orange';
- else if (entity.state <= 100) return 'white';
- else return 'red';
- ]]]
- card_mod:
- class: soft-ui
- style: |
- ha-card {
- box-shadow: none;
- background: transparent;
- }
- style:
- top: 1%
- left: 85%
- transform: scale(1.4)
- - type: custom:button-card
- entity: sensor.ioniq_5_ev_battery_level
- color: auto
- size: 100%
- name: Batterie VE
- show_name: true
- show_state: true
- show_icon: false
- hold_action:
- action: default
- styles:
- card:
- - border-radius: 20px
- - box-shadow: none
- name:
- - font-size: 100%
- - padding-right: 0%
- - padding-bottom: 0%
- - color: white
- state:
- - font-size: 100%
- - color: white
- card_mod: null
- style:
- left: 34%
- top: 88%
- width: 24%
- style: |
- ha-card {
- background-color: rgba(0, 0, 0, 0.1);
- }
- - type: custom:button-card
- entity: sensor.ioniq_average_energy_consumption_mi_kwh
- color: auto
- size: 100%
- name: KWh/100
- show_name: true
- show_state: true
- show_icon: false
- hold_action:
- action: default
- styles:
- card:
- - border-radius: 20px
- - box-shadow: none
- name:
- - font-size: 100%
- - padding-right: 0%
- - padding-bottom: 0%
- - color: white
- state:
- - font-size: 100%
- - color: white
- style:
- left: 64%
- top: 88%
- width: 20%
- - type: custom:button-card
- entity: sensor.ioniq_5_ev_range
- color: auto
- size: 80%
- name: GuessOmeter
- show_name: false
- show_state: true
- show_icon: false
- hold_action:
- action: default
- styles:
- card:
- - aspect-ratio: 4/1
- - border-radius: 4px
- - box-shadow: black
- - background-color: " #FFFFFF"
- - border-color: black
- - border: solid 3px black
- name:
- - font-size: 100%
- - padding-right: 40%
- - padding-bottom: 0%
- - color: white
- state:
- - font-size: 130%
- - color: black
- - font-family: roboto
- - font-weight: 800
- style:
- left: 49%
- top: 61.9%
- width: 25%
- - type: image
- entity: sensor.ioniq_battery_port_state
- state_image:
- "0": /local/community/ioniq5-card/chargeport/state-0.gif
- "1": /local/community/ioniq5-card/chargeport/state-1.gif
- "2": /local/community/ioniq5-card/chargeport/state-2.gif
- "3": /local/community/ioniq5-card/chargeport/state-3.gif
- "4": >-
- /local/community/ioniq5-card/chargeport/ioniq-state-fully-charged.png
- "6": /local/community/ioniq5-card/chargeport/state-6.png
- "7": /local/community/ioniq5-card/chargeport/state-7.png
- "8": /local/community/ioniq5-card/chargeport/state-8.png
- "9": /local/community/ioniq5-card/chargeport/state-9.png
- "10": /local/community/ioniq5-card/chargeport/state-10.png
- style:
- left: 56%
- top: 50%
- width: 80%
- grid_options:
- columns: 24
- rows: auto
- - type: horizontal-stack
- cards:
- - type: custom:button-card
- entity: switch.ioniq_5_conditionnement
- name: HVAC
- size: 10%
- tap_action:
- action: toggle
- state:
- - value: "off"
- icon: mdi:hvac-off
- color: grey
- - value: "on"
- icon: mdi:hvac
- color: orange
- - type: custom:button-card
- entity: lock.ioniq_5_door_lock
- name: Lock
- size: 10%
- tap_action:
- action: toggle
- - type: horizontal-stack
- cards:
- - type: custom:mushroom-number-card
- entity: number.ioniq_5_dc_charging_limit
- name: DC Max
- - type: custom:mushroom-number-card
- entity: number.ioniq_5_ac_charging_limit
- name: AC Max
- column_span: 1
- - type: grid
- cards:
- - type: heading
- heading_style: subtitle
- icon: mdi:map-marker-radius
- heading: Position
- - type: map
- entities:
- - entity: device_tracker.ioniq_5_location
- theme_mode: auto
- hours_to_show: 24
- grid_options:
- columns: full
- rows: 5
- aspect_ratio: "16:9"
- column_span: 1
- cards: []
- max_columns: 3
- dense_section_placement: false
Advertisement
Add Comment
Please, Sign In to add comment