iPhone Battery State Triggers

Hello I’m having a issue getting an automation to trigger. I would like to have my lights turn on and music play when my iPhone gets unplugged for a morning routine. I’ve set the trigger from charging to not charging. I’ve noticed though, that sometimes iPhone battery state will go to full then not charging… wondering if someone has a working automation with these states. I’ve tried both from
Charging to not and full to not. I’ve also setup a shortcut in iOS shortcuts to refresh HA sensors on battery change. Everything runs when manually triggered.

alias: Angela Iphone unplugged
description: ''
trigger:
  - platform: state
    to: 'Not Charging '
    entity_id: sensor.angela_iphone_battery_state
    from: Full
condition:
  - condition: time
    after: '20:00'
    before: '10:00'
action:
  - scene: scene.dinning_room_morning
  - service: media_player.volume_set
    target:
      device_id: 08a3ee621fa38f9a3f085e257a331050
    data:
      volume_level: 0.3
  - service: media_player.play_media
    target:
      device_id: 08a3ee621fa38f9a3f085e257a331050
    data:
      media_content_id: Play country radio
      media_content_type: routine
mode: single

Working or what ?