Hey,
i juse this code for my xiaomy, this code work fine, but now io install hassbian and this code stop working
here my code
alias: "back door open"
trigger:
platform: state
entity_id: binary_sensor.motion_sensor_158d00013e7a62
state: '255'
platform: state
entity_id: binary_sensor.motion_sensor_158d00013e7a62
state: 'on'
action:
service: notify.xiaomy
data:
message: "someone is in the house"
target: "device/LGE Nexus 5X"
i get error
(MainThread) [homeassistant.bootstrap] Error loading /home/homeassistant/.homeassistant/configuration.yaml: duplicate key: "platform"
what is worng here? i use duplicate key last time.
Thanks