Skip to content

Instantly share code, notes, and snippets.

@Naesstrom
Created February 19, 2018 09:32
Show Gist options
  • Save Naesstrom/2968b8a29b55d9188576488d625fec6a to your computer and use it in GitHub Desktop.
Save Naesstrom/2968b8a29b55d9188576488d625fec6a to your computer and use it in GitHub Desktop.
#Detta gör att den hämtar automatiseringarna från en annan fil som heter automation.yaml
automation: !include automations.yaml
#Inställningarna för kodi
media_player:
- platform: kodi
host: 192.168.1.117
turn_on_action:
- service: wake_on_lan.send_magic_packet
data:
mac: C0:3F:D5:68:EA:54
broadcast_address: 192.168.255.255
scene:
#Normal belysning i vardagsrummet
- name: Livingroom normal
#Vilka lampor som ingår
entities:
light.bio_2:
state: on
transition: 2
brightness_pct: 60
#Dimmad belysning i vardagsrummet
- name: Livingroom dim
entities:
light.bio_2:
state: on
transition: 2
#Ändra 30 till valfri procentsats du vill ha i belysning.
brightness_pct: 30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment