Okay, I made those changes, but now I’m getting this error with the configuration checker:
Error loading /config/configuration.yaml: while parsing a block collection in “/config/configuration.yaml”, line 134, column 2 expected , but found ‘’ in “/config/configuration.yaml”, line 139, column 3
Line 134:
- alias: Turn on stairs lights with motion detection
Line 139:
action:
Full Configuration yaml:
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
# Text to speech
tts:
- platform: google_translate
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
# Example configuration.yaml entry
light:
- platform: flux_led
automatic_add: true
devices:
192.168.2.175:
name: "Stairs 1"
mode: "rgbw"
protocol: 'ledenet'
192.168.2.227:
name: "Stairs 2"
mode: "rgbw"
protocol: 'ledenet'
192.168.2.95:
name: "Bedroom 1"
mode: "rgbw"
protocol: 'ledenet'
192.168.2.108:
name: "Bedroom 2"
mode: "rgbw"
protocol: 'ledenet'
192.168.2.25:
name: "Front_Door_Bulb"
mode: "rgbw"
protocol: 'ledenet'
192.168.2.198:
name: "Basement Bulb 1"
mode: "rgbw"
protocol: 'ledenet'
192.168.2.29:
name: "Basement Bulb 2"
mode: "rgbw"
protocol: 'ledenet'
192.168.2.128:
name: "Living Room Lamp"
mode: "rgbw"
protocol: 'ledenet'
192.168.2.136:
name: "Entryway Bulb"
mode: "rgbw"
protocol: 'ledenet'
192.168.2.146:
name: "Diningroom Bulb"
mode: "rgbw"
protocol: 'ledenet'
192.168.2.181:
name: "Patio Bulb"
mode: "rgbw"
protocol: 'ledenet'
192.168.2.206:
name: "Bon Desk Bulb"
mode: "rgbw"
protocol: 'ledenet'
192.168.2.209:
name: "Dining Room Lamp"
mode: "rgbw"
protocol: 'ledenet'
192.168.2.228:
name: "Living Room 1"
mode: "rgbw"
protocol: 'ledenet'
192.168.2.216:
name: "Living Room 2"
mode: "rgbw"
protocol: 'ledenet'
192.168.2.179:
name: "Backyard Bulb"
mode: "rgbw"
protocol: 'ledenet'
192.168.2.252:
name: "Bathroom Ceiling"
mode: "rgbw"
protocol: 'ledenet'
192.168.2.222:
name: "Bathroom Sink 1"
mode: "rgbw"
protocol: 'ledenet'
192.168.2.214:
name: "Bathroom Sink 2"
mode: "rgbw"
protocol: 'ledenet'
192.168.2.148:
name: "Bathroom Sink 3"
mode: "rgbw"
protocol: 'ledenet'
192.168.2.79:
name: "Office Bulb 1"
mode: "rgbw"
protocol: 'ledenet'
192.168.2.207:
name: "Office Bulb 2"
mode: "rgbw"
protocol: 'ledenet'
192.168.2.184:
name: "Grill Light"
mode: "rgbw"
protocol: 'ledenet'
192.168.2.8:
name: "Rec Room 1"
mode: "rgbw"
protocol: 'ledenet'
192.168.2.160:
name: "Rec Room 2"
mode: "rgbw"
protocol: 'ledenet'
192.168.2.31:
name: "Rec Room 3"
mode: "rgbw"
protocol: 'ledenet'
192.168.2.102:
name: "Rec Room 4"
mode: "rgbw"
protocol: 'ledenet'
192.168.2.190:
name: "Hallway Bulb"
mode: "rgbw"
protocol: 'ledenet'
binary_sensor:
- platform: wyzesense
device: auto
automation:
- alias: Turn on stairs lights with motion detection
trigger:
platform: state
entity_id: binary_sensor.wyzesense_779e9d08
to: 'on'
action:
service: light.turn_on
- entity_id: light.stairs_1
- entity_id: light.stairs_2
- entity_id: light.basement_bulb_1
- entity_id: light.basement_bulb_2
- alias: Turn off Stairs lights 5 minutes after last movement
trigger:
platform: state
entity_id: binary_sensor.wyzesense_779e9d08
to: 'off'
for:
minutes: 05
action:
service: light.turn_off
- entity_id: light.stairs_1
- entity_id: light.stairs_2
- entity_id: light.basement_bulb_1
- entity_id: light.basement_bulb_2