OverviewHistoryStatsSecurity
npx skills add ...
Documentation
SKILL.md
npx skills add claude-office-skills/skills --skill home-assistant-automation
Automate smart home devices and create intelligent home automation workflows with Home Assistant
npx skills add claude-office-skills/skills --skill home-assistant-automation
Automate smart home devices and create intelligent automation workflows.
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_doorscenes:
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: 68voice_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_modeenergy_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_chargersecurity:
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"