mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 09:17:10 +00:00
A mini update (#2418)
This commit is contained in:
parent
2b514139eb
commit
80feb322f9
@ -7,6 +7,9 @@ homeassistant:
|
|||||||
latitude: 32.87336
|
latitude: 32.87336
|
||||||
longitude: 117.22743
|
longitude: 117.22743
|
||||||
|
|
||||||
|
# Impacts weather/sunrise data
|
||||||
|
elevation: 665
|
||||||
|
|
||||||
# C for Celsius, F for Fahrenheit
|
# C for Celsius, F for Fahrenheit
|
||||||
temperature_unit: C
|
temperature_unit: C
|
||||||
|
|
||||||
@ -22,8 +25,8 @@ http:
|
|||||||
# Set to 1 to enable development mode
|
# Set to 1 to enable development mode
|
||||||
# development: 1
|
# development: 1
|
||||||
|
|
||||||
|
# Enable the frontend
|
||||||
frontend:
|
frontend:
|
||||||
# enable the frontend
|
|
||||||
|
|
||||||
light:
|
light:
|
||||||
# platform: hue
|
# platform: hue
|
||||||
@ -33,17 +36,12 @@ wink:
|
|||||||
access_token: 'YOUR_TOKEN'
|
access_token: 'YOUR_TOKEN'
|
||||||
|
|
||||||
device_tracker:
|
device_tracker:
|
||||||
# The following types are available: ddwrt, netgear, tomato, luci,
|
# The following tracker are available:
|
||||||
# and nmap_tracker
|
# https://home-assistant.io/components/#presence-detection
|
||||||
platform: netgear
|
platform: netgear
|
||||||
host: 192.168.1.1
|
host: 192.168.1.1
|
||||||
username: admin
|
username: admin
|
||||||
password: PASSWORD
|
password: PASSWORD
|
||||||
# http_id is needed for Tomato routers only
|
|
||||||
# http_id: ABCDEFGHH
|
|
||||||
# For nmap_tracker, only the IP addresses to scan are needed:
|
|
||||||
# hosts: 192.168.1.1/24 # netmask prefix notation or
|
|
||||||
# hosts: 192.168.1.1-255 # address range
|
|
||||||
|
|
||||||
chromecast:
|
chromecast:
|
||||||
|
|
||||||
@ -74,24 +72,25 @@ device_sun_light_trigger:
|
|||||||
# A comma separated list of states that have to be tracked as a single group
|
# A comma separated list of states that have to be tracked as a single group
|
||||||
# Grouped states should share the same type of states (ON/OFF or HOME/NOT_HOME)
|
# Grouped states should share the same type of states (ON/OFF or HOME/NOT_HOME)
|
||||||
# You can also have groups within groups.
|
# You can also have groups within groups.
|
||||||
|
# https://home-assistant.io/components/group/
|
||||||
group:
|
group:
|
||||||
Home:
|
default_view:
|
||||||
- group.living_room
|
view: yes
|
||||||
- group.kitchen
|
entities:
|
||||||
living_room:
|
- group.awesome_people
|
||||||
- light.Bowl
|
- group.climate
|
||||||
- light.Ceiling
|
|
||||||
- light.TV_back_light
|
|
||||||
kitchen:
|
|
||||||
- light.fan_bulb_1
|
|
||||||
- light.fan_bulb_2
|
|
||||||
children:
|
|
||||||
- device_tracker.child_1
|
|
||||||
- device_tracker.child_2
|
|
||||||
|
|
||||||
process:
|
kitchen:
|
||||||
# items are which processes to look for: <entity_id>: <search string within ps>
|
name: Kitchen
|
||||||
xbmc: XBMC.App
|
entities:
|
||||||
|
- switch.kitchen_pin_3
|
||||||
|
upstairs:
|
||||||
|
name: Kids
|
||||||
|
icon: mdi:account-multiple
|
||||||
|
view: yes
|
||||||
|
entities:
|
||||||
|
- input_boolean.notify_home
|
||||||
|
- camera.demo_camera
|
||||||
|
|
||||||
example:
|
example:
|
||||||
|
|
||||||
@ -105,6 +104,7 @@ browser:
|
|||||||
|
|
||||||
keyboard:
|
keyboard:
|
||||||
|
|
||||||
|
# https://home-assistant.io/getting-started/automation/
|
||||||
automation:
|
automation:
|
||||||
- alias: 'Rule 1 Light on in the evening'
|
- alias: 'Rule 1 Light on in the evening'
|
||||||
trigger:
|
trigger:
|
||||||
@ -126,7 +126,6 @@ automation:
|
|||||||
entity_id: group.living_room
|
entity_id: group.living_room
|
||||||
|
|
||||||
- alias: 'Rule 2 - Away Mode'
|
- alias: 'Rule 2 - Away Mode'
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: group.all_devices
|
entity_id: group.all_devices
|
||||||
@ -139,6 +138,14 @@ automation:
|
|||||||
|
|
||||||
# Sensors need to be added into the configuration.yaml as sensor:, sensor 2:, sensor 3:, etc.
|
# Sensors need to be added into the configuration.yaml as sensor:, sensor 2:, sensor 3:, etc.
|
||||||
# Each sensor label should be unique or your sensors might not load correctly.
|
# Each sensor label should be unique or your sensors might not load correctly.
|
||||||
|
# Another way to do is to collect all entries under one "sensor:"
|
||||||
|
# sensor:
|
||||||
|
# - platform: mqtt
|
||||||
|
# name: "MQTT Sensor 1"
|
||||||
|
# - platform: mqtt
|
||||||
|
# name: "MQTT Sensor 2"
|
||||||
|
#
|
||||||
|
# Details: https://home-assistant.io/getting-started/devices/
|
||||||
|
|
||||||
sensor:
|
sensor:
|
||||||
platform: systemmonitor
|
platform: systemmonitor
|
||||||
@ -149,14 +156,6 @@ sensor:
|
|||||||
arg: '/home'
|
arg: '/home'
|
||||||
- type: 'disk_use'
|
- type: 'disk_use'
|
||||||
arg: '/home'
|
arg: '/home'
|
||||||
- type: 'disk_free'
|
|
||||||
arg: '/'
|
|
||||||
- type: 'memory_use_percent'
|
|
||||||
- type: 'memory_use'
|
|
||||||
- type: 'memory_free'
|
|
||||||
- type: 'processor_use'
|
|
||||||
- type: 'process'
|
|
||||||
arg: 'octave-cli'
|
|
||||||
|
|
||||||
sensor 2:
|
sensor 2:
|
||||||
platform: forecast
|
platform: forecast
|
||||||
@ -166,14 +165,6 @@ sensor 2:
|
|||||||
- precip_type
|
- precip_type
|
||||||
- precip_intensity
|
- precip_intensity
|
||||||
- temperature
|
- temperature
|
||||||
- dew_point
|
|
||||||
- wind_speed
|
|
||||||
- wind_bearing
|
|
||||||
- cloud_cover
|
|
||||||
- humidity
|
|
||||||
- pressure
|
|
||||||
- visibility
|
|
||||||
- ozone
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
# Turns on the bedroom lights and then the living room lights 1 minute later
|
# Turns on the bedroom lights and then the living room lights 1 minute later
|
||||||
|
Loading…
x
Reference in New Issue
Block a user