Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #- id: '1572896855110'
- # alias: lampka nocna
- #description: ''
- # trigger:
- # - event: sunset
- # offset: '-00:30:00'
- # platform: sun
- # - event: sunrise
- # offset: '+00:00:00'
- # platform: sun
- # - event: state
- # entity_id: binary_sensor.motion_sensor_158d0002c185b6
- # to: 'on'
- # action:
- # - service: light.turn_on
- # entity_id: light.night_lamp
- # - delay: '15'
- # - service: light.turn_off
- # entity-id: light.night_lamp
- ########
- - alias: Lampka nocna lili
- trigger:
- platform: state
- entity_id: binary_sensor.motion_sensor_158d0002c185b6
- to: 'on'
- action:
- service: light.turn_on
- entity_id: light.night_lamp
- - alias: Turn off kitchen light 1 minutes after last movement
- trigger:
- platform: state
- entity_id: binary_sensor.motion_sensor_158d0002c185b6
- to: 'off'
- for:
- minutes: 1
- action:
- service: light.turn_off
- entity_id: light.night_lamp
- ############ testy powiadomień
- #- alias: 'Send notification when sun rises'
- # trigger:
- # platform: sun
- # event: sunrise
- # offset: '+00:00:00'
- # action:
- # service: notify.pushbullet
- # data:
- # message: 'The sun is up.'
- #- alias: 'Send notification when sun sets'
- # trigger:
- # platform: sun
- # event: sunset
- # offset: '+00:00:00'
- # action:
- # service: notify.pushbullet
- # data:
- # message: 'The sun is down.'
- #- alias: 'lili wstala'
- # trigger:
- # - platform: state
- # entity_id: binary_sensor.motion_sensor_158d0002c185b6
- # from: 'off'
- # to: 'on'
- # condition:
- # condition: time
- # after: "06:10:00"
- # before: "15:30:00"
- # action:
- # - service: notify.pushbullet
- # data_template:
- # title: 'Lili'
- # target: 'LENOVO-Lenovo' #See Pushbullet integration for usage
- # message: "Home Assistant - Pragnę poinformować ze Lili wstała"
- #
- - alias: Update notification
- trigger:
- - platform: state
- entity_id: binary_sensor.motion_sensor_158d0002c185b6
- from: 'off'
- to: 'on'
- action:
- - service: notify.pushbullet
- data_template:
- title: 'New Home Assistant Release'
- target: 'LENOVO-Lenovo' #See Pushbullet integration for usage
- message: "Home Assistant {{ state_attr('binary_sensor.updater', 'newest_version') }} is now available."
- configuracion.yaml
- ######### notyfikacje jako sensor dodaje #########
- notify:
- - platform: pushbullet
- api_key: o.XXXXxxYyyYYyyZyZYY
- name: pushbullet
- # xiaomi_aqara:
Advertisement
Add Comment
Please, Sign In to add comment