Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##
- homeassistant:
- # Name of the location where Home Assistant is running
- name: Home
- # Location required to calculate the time the sun rises and sets
- latitude: 22.291
- longitude: 114.15
- # Impacts weather/sunrise data (altitude above sea level in meters)
- elevation: 0
- # metric for Metric, imperial for Imperial
- unit_system: metric
- # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
- time_zone: Asia/Hong_Kong
- # Customization file
- customize: !include customize.yaml
- # Show links to resources in log and frontend
- introduction:
- # Enables the frontend
- frontend:
- # Enables configuration UI
- config:
- http:
- # Secrets are defined in the file secrets.yaml
- # api_password: !secret http_password
- # Uncomment this if you are using SSL/TLS, running in Docker container, etc.
- # base_url: example.duckdns.org:8123
- # Add Configurator icon in side bar
- panel_iframe:
- configurator:
- title: Configurator
- icon: mdi:wrench
- url: http://hassio.local:3218
- # Add MQTT Mosquitto
- mqtt:
- broker: core-mosquitto
- username: sandwichclass
- password: partygo
- # Add Sonoff Light Switch
- switch:
- - platform: mqtt
- name: "Partygo Moon Light"
- state_topic: "stat/sonoffT1UK301/POWER1"
- command_topic: "cmnd/sonoffT1UK301/POWER1"
- qos: 1
- payload_on: "ON"
- payload_off: "OFF"
- retain: true
- - platform: mqtt
- name: "Partygo Star Light"
- state_topic: "stat/sonoffT1UK301/POWER2"
- command_topic: "cmnd/sonoffT1UK301/POWER2"
- qos: 1
- payload_on: "ON"
- payload_off: "OFF"
- retain: true
- - platform: mqtt
- name: "Partygo Star Light - 2"
- state_topic: "stat/sonoffT1UK301/POWER3"
- command_topic: "cmnd/sonoffT1UK301/POWER3"
- qos: 1
- payload_on: "ON"
- payload_off: "OFF"
- retain: true
- - platform: mqtt
- name: "Partygo Spot Light - 1"
- state_topic: "stat/sonoffT1UK201/POWER1"
- command_topic: "cmnd/sonoffT1UK201/POWER1"
- qos: 1
- payload_on: "ON"
- payload_off: "OFF"
- retain: true
- - platform: mqtt
- name: "Partygo Spot Light - 2"
- state_topic: "stat/sonoffT1UK201/POWER2"
- command_topic: "cmnd/sonoffT1UK201/POWER2"
- qos: 1
- payload_on: "ON"
- payload_off: "OFF"
- retain: true
- - platform: mqtt
- name: "Tiolet Light"
- state_topic: "stat/sonoffT1UK1/POWER"
- command_topic: "cmnd/sonoffT1UK1/POWER"
- qos: 1
- payload_on: "ON"
- payload_off: "OFF"
- retain: true
- # Add TV & Onkyo AV Receiver
- wake_on_lan:
- media_player:
- - platform: onkyo
- host: 192.168.1.55
- name: NR646
- - platform: webostv
- host: 192.168.1.110
- Name: LG TV
- mac: 78:5D:C8:3F:4E:79
- filename: webostv.conf
- icon: mdi:television
- turn_on_action:
- service: wake_on_lan.send_magic_packet
- data:
- mac: 78:5D:C8:3F:4E:79
- # Checks for available updates
- # Note: This component will send some information about your system to
- # the developers to assist with development of Home Assistant.
- # For more information, please see:
- # https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
- updater:
- # Optional, allows Home Assistant developers to focus on popular components.
- # include_used_components: true
- # Discover some devices automatically
- discovery:
- # Allows you to issue voice commands from the frontend in enabled browsers
- conversation:
- # Enables support for tracking state changes over time
- history:
- # View all events in a logbook
- logbook:
- # Enables a map showing the location of tracked devices
- map:
- # Track the sun
- sun:
- # Weather prediction
- sensor:
- - platform: yr
- # Text to speech
- tts:
- - platform: google
- # Cloud
- cloud:
- group: !include groups.yaml
- automation: !include automations.yaml
- script: !include scripts.yaml
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement