Evening All.
Does someone know how to fix the presence in my file.
I tried a different card and with colours. When i’m home the colour is light red. When i’m home the colour has to change back to the default colour (or something like yellow)
cards:
- color: Default
color_type: label-card
name: Thuis
type: 'custom:button-card'
- cards:
- color: 'rgb(255, 153, 153)'
color_type: card
entity: device_tracker.iphone1
icon: null
name: Maurice
size: 20%
type: 'custom:button-card'
- color: 'rgb(255, 153, 153)'
color_type: card
entity: device_tracker.iphone2
icon: null
name: Yvette
size: 20%
type: 'custom:button-card'
type: horizontal-stack
type: vertical-stack