Advertisement
HATHROWAWAY

Sync Xbox Toggle with Media Player State Boolean

Jul 14th, 2025
7
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. alias: Sync Xbox Toggle with Media Player State Boolean
  2. description: ""
  3. triggers:
  4. - entity_id: media_player.tungsten_cube
  5. trigger: state
  6. conditions: []
  7. actions:
  8. - choose:
  9. - conditions:
  10. - condition: state
  11. entity_id: media_player.tungsten_cube
  12. state: "off"
  13. sequence:
  14. - target:
  15. entity_id: input_boolean.tungsten_power_state
  16. action: input_boolean.turn_off
  17. data: {}
  18. default:
  19. - target:
  20. entity_id: input_boolean.tungsten_power_state
  21. action: input_boolean.turn_on
  22. data: {}
  23. mode: restart
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement