This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/maxi1134 on 2024-09-24 17:30:45+00:00.


I’ve been dabbling in the home automation scene for a few years now. I’ve ended up with over 100 automation to assist with my daily life. I am sharing them here!

You should be able to search each automation name on this page to find the corresponding code!

Be aware that some of them require a bit of customization ( Helpers and/or template sensors), but be reassured that the ENTIRETY* of my home assistant code is available here:

*ᵐᶦⁿᵘˢ ˢᵉᶜʳᵉᵗˢ

Here we go:

### Music and Media Control
- Play Music when maxi awakes at home
- Start music on Acid mode on
- Turn lights to purple when a movie is played
- Turn lights to white when we stop a movie
- Raise lights to 60% brightness when a movie is paused

### Thermostat and Climate Control

- Turn ACs on and Off depending on house occupancy
- Raise volume when the AC starts in a room
- Turn down volume when AC goes off

### Door and Security Control
- Trigger in-home defense script after the alarm is triggered for 6 continuous minutes
- Trigger police announcement on triggered alarm
- Lock front door when it is closed for 5 seconds
- Lock front door 5 minutes after unlocking
- Alert that the front door remained open
- Lock back door when it is closed for 5 seconds
- Lock back door 5 minutes after unlocking
- Disarm alarm-away when "User Home" turns on
- Arm Alarm-Away when "User home" is off for 10 minutes
- Alert when there is motion inside during arm away
- Set front door screen text through notification
- Arm night alarm when everyone is sleeping
- Disarm alarm night when someone awakes
- Front door automation on unlock for main codes
- Alert when someone is in the front
- Alert when the horn goes off and offer to turn it off
- Alert when someone is in the back
- Alert maxi if someone comes in while he is sleeping
- Notify on potential package
- Turn back door lights on when someone is detected
- Trigger front horn through phone notification
- Trigger all home defense script through notification
- Trigger In home defense script through phone notification

### Lighting Control
- Change room lights to semi-saturated colors when party turns on
- Change all single lights to random saturated colors when acid mode turns
- Start 4k visuals when acid time turns on
- Change light to random colors on press
- Change light to random pastel colors on press
- Turn off lights when the house is empty
- Turn off lights when a room is empty
- Turn off lights colors adaptation when an event is ongoing
- Turn on color adaptation when events end
- Turn light on when someone is detected in the front
- Turn on lights automatically
- Turn off Livingroom lights when bedroom Sleeper turns on
- Change all Lights to warm colors on Kink Party
- Display room color on TVs when mimiclights mode is triggered
- Turn on light automation once alarm is disarmed

### Speaker and Audio Control
- Mute Speakers in the office when computer mic is in use
- Unmute Speakers in the office when computer mic goes off
- Stop bedroom speaker when bedroom sleeper awake
- Play Muzak in the bathroom when someone enters
- Raise music on the playing speaker when the Bathroom fans goes on
- Conditionally Unmute Speakers when a room is occupied
- Mute speakers when the room is empty
- Mute chromecasts when they start visuals
- Turn off speakers after 15 minutes of pause
- Mute speakers in the room if maxi uses a microphone
- Mute speakers when chromecast start playing in the same room
- Unmute speakers when TV stops
- Lower sound when assist in progress
- Automatic Volume on playback v3
- Restart spotify playback on Music Assistant

### Alerts and Notifications
- Alert that the vacuum is stuck
- Alert when dryer finishes
- Alert when Microwave finishes
- Alert when Washer finishes
- Alert maxi that his phone is ringing
- Alert when there is noise on the terrace
- Tell maxi about the weather when he awakes
- Tell maxi when his watch is charged
- Alert maxi when a work timer ends
- Alert people in the back to go away

### Blinds and Covers Control
- Close blinds when the house is empty
- Close all blinds on acid mode
- Close all blinds on kink party
- Open bedroom covers when the person awakes
- Close bedroom cover when sleeper turns on
- Closer bedroom sleeper faster when maxi is in
- Close covers in the room when chromecasts start movie

### Fan and Humidity Control
- Start/stop bathroom fan when Bathroom humidity changes
- Turn off Closet fan after 5 minutes of non-occupancy

### Tablet and Display Control
- Control Hallway Tablet charging
- Control LivingRoomTablet charging
- Auto close closet tablet screen when someone is sleeping
- Reload tablets 4 minutes after HA restarts
- Reload tablet page when motion is detected in the kitchen
- Reload tablets when frigate changes state
- Display Chillingroom Display interface
- Lock tablets on triggered alarm
- Unlock tablets on disarmed alarm

### Miscellaneous
- Sleep actions when "all_sleeping" is turned on
- Turn off Sleeping mode for Adaptive lighting on "All_sleeping" turns on
- Turn on party mode when over 5 guests are over
- Start visuals when Party mode is turned on
- Start visuals on all inactive TVs
- Automatically turn off TVs
- Set Wiim volume when Fosi amps turn on
- Turn off sleeper in hotbox when koopa leaves

### Assist
- Assist play specific artist
- Assist Play Playlist
- Assist play specific song
- Assist play song by artist next
- Assist Play song by artist now
- Assist Restart Music Assistant
- Assist play music (default)
- Assist play next song
- Assist Start Media on TV
- assist Stop home group music
- Assist Set Thermostats

***The sorting was done through LLM as I was too indecisive to decide which automation would go under each category***