Presence Detection Custom Card

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

Any suggestions?

Finally i tried making something like this. It knows my status but doesn’t change the color:

type: 'custom:button-card'
entity: device_tracker.mauricemobiel
icon: 'mdi:alarm-bell'
color_type: icon
size: 20%
name: Maurice
style:
  - font-size: 12px
  - font-weight: bold
action: more_info
show_state: true
state:
  - value: Thuis
    color: 'rgb(255, 5, 5)'
  - value: Afwezig
    color: 'rgb(255, 140, 255)'

No-one :frowning: ?