title: Dashboard
icon: mdi:monitor-dashboard
panel: true
path: dashboard
cards:
- type: horizontal-stack
cards:
###################################################################################################
#RD
- type: picture-elements
image: /local/HA_RD.jpg
elements:
- type: state-label
entity: device_tracker.life360_oescafandrista
#prefix: "Local: "
style: {color: white, left: 15%, top: 93%}
- type: state-label
name: " "
entity: sensor.life360_rd_baterry
style: {color: white, left: 93%, top: 15%}
- type: custom:battery-entity
name: " "
entity: sensor.life360_rd_baterry
style: {color: white, left: 50%, top: 93%}
- type: conditional
conditions:
- entity: sensor.life360_rd_battery_charging
state: "True"
elements:
- type: state-icon
entity: sensor.life360_rd_battery_charging
style: {color: black, left: 93%, top: 35%}
icon_color: [0,100,100]
- type: conditional
conditions:
- entity: sensor.life360_rd_wifi_on
state: "True"
elements:
- type: state-icon
entity: sensor.life360_rd_wifi_on
style: {color: white, left: 93%, top: 55%}
- type: conditional
conditions:
- entity: sensor.life360_rd_driving
state: "True"
elements:
- type: state-icon
entity: sensor.life360_rd_driving
style: {color: white, left: 93%, top: 75%}
- type: conditional
conditions:
- entity: sensor.life360_rd_moving
state: "True"
elements:
- type: state-icon
entity: sensor.life360_rd_moving
style: {color: white, left: 93%, top: 93%}
###################################################################################################
#JU
- type: picture-elements
image: /local/HA_JU.jpg
elements:
- type: state-label
entity: device_tracker.life360_juliana
#prefix: "Local: "
style: {color: white, left: 15%, top: 93%}
- type: state-label
name: " "
entity: sensor.life360_juliana_battery
style: {color: white, left: 93%, top: 15%}
- type: custom:battery-entity
name: " "
entity: sensor.life360_juliana_battery
style: {color: white, left: 50%, top: 93%}
- type: conditional
conditions:
- entity: sensor.life360_juliana_battery_charging
state: "True"
elements:
- type: state-icon
entity: sensor.life360_juliana_battery_charging
style: {color: black, left: 93%, top: 35%}
- type: conditional
conditions:
- entity: sensor.life360_juliana_wifi_on
state: "True"
elements:
- type: state-icon
entity: sensor.life360_juliana_wifi_on
style: {color: white, left: 93%, top: 55%}
- type: conditional
conditions:
- entity: sensor.life360_juliana_driving
state: "True"
elements:
- type: state-icon
entity: sensor.life360_juliana_driving
style: {color: white, left: 93%, top: 75%}
- type: conditional
conditions:
- entity: sensor.life360_juliana_moving
state: "True"
elements:
- type: state-icon
entity: sensor.life360_juliana_moving
style: {color: white, left: 93%, top: 93%}
###################################################################################################
#Gabi
- type: picture-elements
image: /local/HA_GA1.jpg
elements:
- type: state-label
entity: device_tracker.life360_gabi
#prefix: "Local: "
style: {color: white, left: 15%, top: 93%}
- type: custom:battery-entity
name: " "
entity: sensor.life360_gabi_battery
style: {color: white, left: 50%, top: 93%}
- type: state-label
name: " "
entity: sensor.life360_gabi_battery
style: {color: white, left: 93%, top: 15%}
- type: conditional
conditions:
- entity: sensor.life360_gabi_battery_charging
state: "True"
elements:
- type: state-icon
entity: sensor.life360_gabi_battery_charging
style: {color: white, left: 93%, top: 35%}
- type: conditional
conditions:
- entity: sensor.life360_gabi_wifi_on
state: "True"
elements:
- type: state-icon
entity: sensor.life360_gabi_wifi_on
style: {color: white, left: 93%, top: 55%}
- type: conditional
conditions:
- entity: sensor.life360_gabi_driving
state: "True"
elements:
- type: state-icon
entity: sensor.life360_gabi_driving
style: {color: white, left: 93%, top: 75%}
- type: conditional
conditions:
- entity: sensor.life360_gabi_moving
state: "True"
elements:
- type: state-icon
entity: sensor.life360_gabi_moving
style: {color: black, left: 93%, top: 93%}
###################################################################################################
# #Belinh
- type: picture-elements
image: /local/HA_BE.jpg
elements:
- type: state-label
entity: sensor.belinha_acao
# prefix: "Local.: "
style:
top: 93%
left: 15%
Color: white
- type: state-label
entity: sensor.belinha_last_update
# prefix: "Local.: "
style:
top: 93%
left: 70%
Color: white
###################################################################################################
- break
########################Cards Temperatura #######################################################################
- type: glance
title: Glance card sample
entities:
- light.gateway_light_7811dcb215c1
- light.yeelight_color1_34ce0084dcdc
- light.yeelight_color1_34ce008b5522
- light.yeelight_color1_34ce008b8aeb