Home Assistant Automation
Automate smart home devices and create intelligent home automation workflows with Home Assistant
MCP get_skill({ skillId: "home-assistant-automation-38b4780c" })Use this skill with your agent
Create a free account and connect via MCP
# Home Assistant Automation
Automate smart home devices and create intelligent automation workflows.
## Core Capabilities
### Device Control
```yaml
device_commands:
lights:
- turn_on:
entity_id: light.living_room
brightness_pct: 80
color_temp: 350
- turn_off:
entity_id: light.all_lights
climate:
- set_temperature:
entity_id: climate.main_thermostat
temperature: 72
hvac_mode: heat
media:
- media_play_pause:
entity_id: media_player.living_room_tv
- volume_set:
entity_id: media_player.sonos
volume_level: 0.5
```
### Automation Templates
```yaml
automations:
morning_routine:
trigger:
- platform: time
at: "06:30:00"
- platform: state
entity_id: binary_sensor.alarm
to: "off"
condition:
- condition: state
entity_id: person.owner
state: "home"
action:
- service: light.turn_on
target:
entity_id: light.bedroom
data:
brightness_pct: 30
transition: 300
- service: climate.set_temperature
data:
temperature: 72
- delay: "00:05:00"
- service: media_player.play_media
data:
media_content_type: music
media_content_id: "news_briefing"
away_mode:
trigger:
platform: state
entity_id: group.family
to: "not_home"
for: "00:10:00"
action:
- service: climate.set_preset_mode
data:
preset_mode: away
- service: light.turn_off
target:
entity_id: all
- service: lock.lock
target:
entity_id: lock.front_door
```
### Scenes
```yaml
scenes:
movie_night:
entities:
light.living_room:
state: on
brightness: 20
color_temp: 500
light.tv_backlight:
state: on
rgb_color: [0, 0, 255]
media_player.soundbar:
state: on
source: "TV"
cover.blinds:
state: closed
good_night:
entities:
light.all_lights:
state: off
lock.all_locks:
state: locked
alarm_control_panel.home:
state: armed_night
climate.thermostat:
temperature: 68
```
### Voice Commands
```yaml
voice_intents:
- intent: "Turn on the lights"
action: light.turn_on
entity: light.all_lights
- intent: "Set temperature to {temp}"
action: climate.set_temperature
entity: climate.thermostat
data:
temperature: "{{ temp }}"
- intent: "I'm leaving"
action: script.away_mode
```
## Integration Examples
### Energy Monitoring
```yaml
energy_dashboard:
sensors:
- sensor.electricity_usage
- sensor.solar_production
- sensor.battery_level
automations:
- name: "Off-peak charging"
trigger:
platform: time
at: "00:00:00"
action:
service: switch.turn_on
entity_id: switch.ev_charger
```
### Security System
```yaml
security:
motion_detection:
trigger:
platform: state
entity_id: binary_sensor.motion_front
to: "on"
condition:
- condition: state
entity_id: alarm_control_panel.home
state: armed_away
action:
- service: camera.snapshot
entity_id: camera.front_door
- service: notify.mobile_app
data:
message: "Motion detected at front door"
data:
image: "/local/snapshots/front_door.jpg"
```
## Best Practices
1. **Entity Naming**: Use consistent naming conventions
2. **Groups**: Organize devices logically
3. **Conditions**: Always add appropriate conditions
4. **Notifications**: Don't over-notify
5. **Testing**: Test automations thoroughly
6. **Backup**: Regular configuration backupsRelated Skills
More skills in Personal Productivity
Academic Cv Builder
Format CVs for academic positions with publications, grants, and teaching
Act Informed: First understand together with the human, then do
Interactive, input-tool powered, task refinement workflow: interrogates scope, deliverables, constraints before carrying out the task; Requires the Joyride extension.
Add Multiple Attendees to a Calendar Event
Add a list of attendees to an existing Google Calendar event and send notifications.
AgentMail — Agent-Owned Email Inboxes
Give the agent its own dedicated email inbox via AgentMail. Send, receive, and manage email autonomously using agent-owned email addresses (e.g. hermes-agent@agentmail.to).
Agent Mail Automation via Rube MCP
Automate Agent Mail tasks via Rube MCP (Composio). Always search tools first for current schemas.
Airtable
Airtable REST API via curl. Records CRUD, filters, upserts.
Explore Other Categories
Skills from other categories with shared topics
Academic Search
Search and analyze academic literature. Find papers, understand research methodologies, and synthesize academic findings for research projects.
Ads Copywriter
Multi-platform ad copy generation for Google Ads, Meta/Facebook, TikTok, LinkedIn with A/B testing variants
AI Agent Builder
Build AI agents with tools, memory, and multi-step reasoning - ChatGPT, Claude, Gemini integration patterns