My Logitech speakers can be controlled via infrared, so when my PC turns on or off, a power command is sent through Broadlink RM Mini 3 remote.
alias:MyPC state changedescription:"Turns on or off the speakers of my 🖥 "mode:singletrigger: - platform:stateentity_id:switch.my_pccondition: []action: - choose: - conditions: - condition:stateentity_id:switch.my_pcstate:"on"sequence: - service:media_player.turn_ondata: {}target:entity_id:media_player.logitechdefault: - service:media_player.turn_offdata: {}target:entity_id:media_player.logitech
Notify on Hikvision Line Crossing event
My hikvision camera can recognize when someone has crossed a line that I’ve configured on the camera, so I get a notification on my desktop when this happens.
This is used when you share a video link like youtube. It checks if the media player is available, pauses if something is playing, opens the link on your browser and presses the "f" button to activate the full screen.