Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- homeassistant:
- name: Paddock View Home
- latitude: !secret homeassistant_latitude
- longitude: !secret homeassistant_longitude
- elevation: 10 #!secret homeassistant_elevation
- unit_system: metric
- time_zone: Europe/London
- #customize: !include_dir_merge_named customize
- frontend:
- # Enables configuration UI
- config:
- 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:
- ### Devices ###
- light: !include lights.yaml
- #group: !include groups.yaml
- #switch:
- # - platform: rest
- # resource: http://127.0.0.1:8126/container/grafana
- # name: Grafana
- # body_on: '{"state": "start"}'
- # body_off: '{"state": "stop"}'
- # is_on_template: '{{ value_json is not none and value_json.state == "running" }}'
- binary_sensor:
- #living-up
- - platform: mqtt
- state_topic: 'stat/living-up/POWER'
- name: 'PIR living-up'
- sensor:
- - platform: mqtt
- state_topic: 'tele/living-up/SENSOR'
- name: 'Temperature Living-up'
- units_of_measurement: '°C'
- value_template: '{{ value_json[SHT3X-0x44].Temperature}}'
- - platform: mqtt
- state_topic: 'tele/living-up/SENSOR'
- name: 'Humidity Living-up'
- units_of_measurement: '%'
- value_template: '{{ value_json[SHT3X-0x44].Humidity}}'
- - platform: mqtt
- state_topic: 'tele/heater/SENSOR'
- name: 'Temperature Heater'
- units_of_measurement: '°C'
- value_template: '{{ value_json['SHT3X-0x44'].Temperature }}'
- - platform: mqtt
- state_topic: 'tele/heater/SENSOR'
- name: 'Humidity Heater'
- units_of_measurement: '%'
- value_template: '{{ value_json['SHT3X-0x44'].Humidity }}'
- - platform: mqtt
- state_topic: 'tele/living1/SENSOR'
- name: 'Temperature Living1'
- units_of_measurement: '°C'
- value_template: '{{ value_json.BMP280.Temperature}}'
- - platform: mqtt
- state_topic: 'tele/living1/SENSOR'
- name: 'Pressure Living1'
- value_template: '{{ value_json.BMP280.Pressure}}'
- harmony_online:
- value_template: "{% if states.device_tracker.harmonyhub %}
- {% if is_state('device_tracker.harmonyhub', 'home') %}
- Online
- {% else %}
- Offline
- {% endif %}
- {% else %}
- Unknown
- {% endif %}"
- friendly_name: 'Harmony Hub'
- #DarkSky
- #weather:
- # - platform: darksky
- # api_key: !secret forecast_key
- #mysensors:
- # gateways:
- # - device: '/dev/ttyACM0'
- #mqtt:
- # broker: 127.0.0.1
- # port: 1883
- # client_id: home-assistant-Carlo
- # username: !secret MQTT_username
- # password: !secret MQTT_password
- mqtt:
- broker: 192.168.1.100
- port: 1883
- client_id: home-assistant
- keepalive: 60
- username: !secret MQTT_username
- password: !secret MQTT_password
- #device_tracker: !include_dir_merge_list device_tracker
- #sensor: !include_dir_merge_list sensor
- #automation: !include_dir_merge_list automation
- #scene: !include_dir_merge_list scene
- #switch: !include_dir_merge_list switch
- #script: !include_dir_merge_named script
- #input_boolean: !include_dir_merge_named input_boolean
- #shell_command: !include_dir_merge_named shell_command
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement