Scene with sonos and wemo

Folks,
I try to create a scene leave home and enter home. When I enter home wanna have all Sonos playing and the wemo.tee to be switched on. When I leave home I wanna shutdown all Sonos and all switches. The Sonos piece is working, but the wemo piece is just ignoring. Can someone help?

Part of my scene.yaml:

  • name: Enter Home
    entities:
    media_player.Wohnzimmer:
    state: on
    media_player.bad:
    state: on
    media_player.Kche:
    state: on
    switch.tee:
    state: on
  • name: Leave Home
    entities:
    media_player.Wohnzimmer:
    state: off
    media_player.bad:
    state: off
    media_player.Kche:
    state: Off
    group.all_switches:
    state: Off
    group.all_lights:
    state: turn_off

What I am looking for is to switch just the switch.tee on but when leaving switch all wemos and lights.

Use preformatted text for YAML. This is unreadable without proper indentation. Are you getting errors in home-assistant.log?

Nope, Just not working

Then the automation code may have a problem. Are you seeing the event trigger (check last_triggered in the states dev tool).