Browse Source

Add zones and groups

master
KemoNine 2 years ago
parent
commit
84dc287de6
  1. 4
      README.md
  2. 6
      configuration.yaml
  3. 3
      groups/README.md
  4. 34
      groups/groups.yaml
  5. 12
      groups/office_desk.yaml
  6. 20
      groups/status.yaml
  7. 201
      groups/weather.yaml
  8. 2
      sensors/weather.yaml
  9. 5
      zones.yaml

4
README.md

@ -2,6 +2,10 @@
Notes and information about my [home-automation.io](https://www.home-automation.io) setup.
# Useful Hints
- If you're looking for icons see [https://cdn.materialdesignicons.com/3.6.95/](https://cdn.materialdesignicons.com/3.6.95/) and prefix the names with ```mdi:```. Be sure to remove the ```mdi-``` prefix from the main icons list or they won't work!
# Licensing
Unless otherwise stated the contents of this repository are licensed under a [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License](LICENSE.txt).

6
configuration.yaml

@ -104,13 +104,11 @@ person:
# Combine entities into groups and organize UI
# https://home-assistant.io/components/group/
#group: !include_dir_merge_named groups/
group: !include_dir_merge_named groups/
# Zones
# https://home-assistant.io/components/zone/
#zone: !include misc/zones.yaml
zone: !include zones.yaml
# Variables

3
groups/README.md

@ -0,0 +1,3 @@
# Groups
Group all the things into meaningful groups.

34
groups/groups.yaml

@ -0,0 +1,34 @@
default_view:
view: true
icon: mdi:home
entities:
- group.date_time
- group.entertainment
- group.cameras
date_time:
name: Date and Time
icon: mdi:clock
control: hidden
entities:
- sun.sun
- sensor.time
- sensor.date
- sensor.time_utc
entertainment:
name: Entertainment
icon: mdi:television-classic
entities:
- group.all_remotes
- media_player.bedroom_tv
- media_player.living_room_tv
- remote.living_room
cameras:
name: Cameras
icon: mdi:cctv
entities:
- camera.living_room
- camera.stairs
- camera.deck

12
groups/office_desk.yaml

@ -0,0 +1,12 @@
office_desk:
name: Office Desk
icon: mdi:desk-lamp
view: true
entities:
- sensor.sparkfun_weather_station_hi_c
- sensor.sparkfun_weather_station_hi_f
- sensor.sparkfun_weather_station_humidity_percent
- sensor.sparkfun_weather_station_light_lvl_v
- sensor.sparkfun_weather_station_pressure_pa
- sensor.sparkfun_weather_station_temp_c
- sensor.sparkfun_weather_station_temp_f

20
groups/status.yaml

@ -0,0 +1,20 @@
status:
name: Server Status
icon: mdi:router-wireless-settings
view: true
entities:
- sensor.sopine_ac
- sensor.sopine_ac_current
- sensor.sopine_ac_health
- sensor.sopine_ac_online
- sensor.sopine_ac_present
- sensor.sopine_ac_type
- sensor.sopine_ac_voltage
- sensor.sopine_battery
- sensor.sopine_battery_capacity
- sensor.sopine_battery_current
- sensor.sopine_battery_health
- sensor.sopine_battery_present
- sensor.sopine_battery_status
- sensor.sopine_battery_voltage

201
groups/weather.yaml

@ -0,0 +1,201 @@
allergy_index:
name: Allergy Index
icon: mdi:flower-tulip
view: true
entities:
- sensor.allergy_index_historical_average
- sensor.allergy_index_today
- sensor.allergy_index_tomorrow
- sensor.allergy_index_yesterday
- sensor.asthma_index_forecasted_average
- sensor.asthma_index_historical_average
- sensor.asthma_index_today
- sensor.asthma_index_tomorrow
- sensor.asthma_index_yesterday
- sensor.cold_flu_forecasted_average
dark_sky:
name: Dark Sky
icon: mdi:weather-sunny
view: true
entities:
- sensor.dark_sky_apparent_temperature
- sensor.dark_sky_apparent_temperature_0h
- sensor.dark_sky_apparent_temperature_10h
- sensor.dark_sky_apparent_temperature_11h
- sensor.dark_sky_apparent_temperature_12h
- sensor.dark_sky_apparent_temperature_1h
- sensor.dark_sky_apparent_temperature_2h
- sensor.dark_sky_apparent_temperature_3h
- sensor.dark_sky_apparent_temperature_4h
- sensor.dark_sky_apparent_temperature_5h
- sensor.dark_sky_apparent_temperature_6h
- sensor.dark_sky_apparent_temperature_7h
- sensor.dark_sky_apparent_temperature_8h
- sensor.dark_sky_apparent_temperature_9h
- sensor.dark_sky_daily_summary
- sensor.dark_sky_daytime_high_temperature_0d
- sensor.dark_sky_daytime_high_temperature_1d
- sensor.dark_sky_daytime_high_temperature_2d
- sensor.dark_sky_daytime_high_temperature_3d
- sensor.dark_sky_daytime_high_temperature_4d
- sensor.dark_sky_daytime_high_temperature_5d
- sensor.dark_sky_humidity
- sensor.dark_sky_humidity_0d
- sensor.dark_sky_humidity_0h
- sensor.dark_sky_humidity_10h
- sensor.dark_sky_humidity_11h
- sensor.dark_sky_humidity_12h
- sensor.dark_sky_humidity_1d
- sensor.dark_sky_humidity_1h
- sensor.dark_sky_humidity_2d
- sensor.dark_sky_humidity_2h
- sensor.dark_sky_humidity_3d
- sensor.dark_sky_humidity_3h
- sensor.dark_sky_humidity_4d
- sensor.dark_sky_humidity_4h
- sensor.dark_sky_humidity_5d
- sensor.dark_sky_humidity_5h
- sensor.dark_sky_humidity_6h
- sensor.dark_sky_humidity_7h
- sensor.dark_sky_humidity_8h
- sensor.dark_sky_humidity_9h
- sensor.dark_sky_icon
- sensor.dark_sky_icon_0d
- sensor.dark_sky_icon_0h
- sensor.dark_sky_icon_10h
- sensor.dark_sky_icon_11h
- sensor.dark_sky_icon_12h
- sensor.dark_sky_icon_1d
- sensor.dark_sky_icon_1h
- sensor.dark_sky_icon_2d
- sensor.dark_sky_icon_2h
- sensor.dark_sky_icon_3d
- sensor.dark_sky_icon_3h
- sensor.dark_sky_icon_4d
- sensor.dark_sky_icon_4h
- sensor.dark_sky_icon_5d
- sensor.dark_sky_icon_5h
- sensor.dark_sky_icon_6h
- sensor.dark_sky_icon_7h
- sensor.dark_sky_icon_8h
- sensor.dark_sky_icon_9h
- sensor.dark_sky_overnight_low_temperature_0d
- sensor.dark_sky_overnight_low_temperature_1d
- sensor.dark_sky_overnight_low_temperature_2d
- sensor.dark_sky_overnight_low_temperature_3d
- sensor.dark_sky_overnight_low_temperature_4d
- sensor.dark_sky_overnight_low_temperature_5d
- sensor.dark_sky_precip
- sensor.dark_sky_precip_0d
- sensor.dark_sky_precip_0h
- sensor.dark_sky_precip_10h
- sensor.dark_sky_precip_11h
- sensor.dark_sky_precip_12h
- sensor.dark_sky_precip_1d
- sensor.dark_sky_precip_1h
- sensor.dark_sky_precip_2d
- sensor.dark_sky_precip_2h
- sensor.dark_sky_precip_3d
- sensor.dark_sky_precip_3h
- sensor.dark_sky_precip_4d
- sensor.dark_sky_precip_4h
- sensor.dark_sky_precip_5d
- sensor.dark_sky_precip_5h
- sensor.dark_sky_precip_6h
- sensor.dark_sky_precip_7h
- sensor.dark_sky_precip_8h
- sensor.dark_sky_precip_9h
- sensor.dark_sky_precip_accumulation_0d
- sensor.dark_sky_precip_accumulation_0h
- sensor.dark_sky_precip_accumulation_10h
- sensor.dark_sky_precip_accumulation_11h
- sensor.dark_sky_precip_accumulation_12h
- sensor.dark_sky_precip_accumulation_1d
- sensor.dark_sky_precip_accumulation_1h
- sensor.dark_sky_precip_accumulation_2d
- sensor.dark_sky_precip_accumulation_2h
- sensor.dark_sky_precip_accumulation_3d
- sensor.dark_sky_precip_accumulation_3h
- sensor.dark_sky_precip_accumulation_4d
- sensor.dark_sky_precip_accumulation_4h
- sensor.dark_sky_precip_accumulation_5d
- sensor.dark_sky_precip_accumulation_5h
- sensor.dark_sky_precip_accumulation_6h
- sensor.dark_sky_precip_accumulation_7h
- sensor.dark_sky_precip_accumulation_8h
- sensor.dark_sky_precip_accumulation_9h
- sensor.dark_sky_precip_intensity
- sensor.dark_sky_precip_intensity_0d
- sensor.dark_sky_precip_intensity_0h
- sensor.dark_sky_precip_intensity_10h
- sensor.dark_sky_precip_intensity_11h
- sensor.dark_sky_precip_intensity_12h
- sensor.dark_sky_precip_intensity_1d
- sensor.dark_sky_precip_intensity_1h
- sensor.dark_sky_precip_intensity_2d
- sensor.dark_sky_precip_intensity_2h
- sensor.dark_sky_precip_intensity_3d
- sensor.dark_sky_precip_intensity_3h
- sensor.dark_sky_precip_intensity_4d
- sensor.dark_sky_precip_intensity_4h
- sensor.dark_sky_precip_intensity_5d
- sensor.dark_sky_precip_intensity_5h
- sensor.dark_sky_precip_intensity_6h
- sensor.dark_sky_precip_intensity_7h
- sensor.dark_sky_precip_intensity_8h
- sensor.dark_sky_precip_intensity_9h
- sensor.dark_sky_precip_probability
- sensor.dark_sky_precip_probability_0d
- sensor.dark_sky_precip_probability_0h
- sensor.dark_sky_precip_probability_10h
- sensor.dark_sky_precip_probability_11h
- sensor.dark_sky_precip_probability_12h
- sensor.dark_sky_precip_probability_1d
- sensor.dark_sky_precip_probability_1h
- sensor.dark_sky_precip_probability_2d
- sensor.dark_sky_precip_probability_2h
- sensor.dark_sky_precip_probability_3d
- sensor.dark_sky_precip_probability_3h
- sensor.dark_sky_precip_probability_4d
- sensor.dark_sky_precip_probability_4h
- sensor.dark_sky_precip_probability_5d
- sensor.dark_sky_precip_probability_5h
- sensor.dark_sky_precip_probability_6h
- sensor.dark_sky_precip_probability_7h
- sensor.dark_sky_precip_probability_8h
- sensor.dark_sky_precip_probability_9h
- sensor.dark_sky_summary
- sensor.dark_sky_summary_0d
- sensor.dark_sky_summary_0h
- sensor.dark_sky_summary_10h
- sensor.dark_sky_summary_11h
- sensor.dark_sky_summary_12h
- sensor.dark_sky_summary_1d
- sensor.dark_sky_summary_1h
- sensor.dark_sky_summary_2d
- sensor.dark_sky_summary_2h
- sensor.dark_sky_summary_3d
- sensor.dark_sky_summary_3h
- sensor.dark_sky_summary_4d
- sensor.dark_sky_summary_4h
- sensor.dark_sky_summary_5d
- sensor.dark_sky_summary_5h
- sensor.dark_sky_summary_6h
- sensor.dark_sky_summary_7h
- sensor.dark_sky_summary_8h
- sensor.dark_sky_summary_9h
- sensor.dark_sky_temperature
- sensor.dark_sky_temperature_0h
- sensor.dark_sky_temperature_10h
- sensor.dark_sky_temperature_11h
- sensor.dark_sky_temperature_12h
- sensor.dark_sky_temperature_1h
- sensor.dark_sky_temperature_2h
- sensor.dark_sky_temperature_3h
- sensor.dark_sky_temperature_4h
- sensor.dark_sky_temperature_5h
- sensor.dark_sky_temperature_6h
- sensor.dark_sky_temperature_7h
- sensor.dark_sky_temperature_8h
- sensor.dark_sky_temperature_9h

2
sensors/weather.yaml

@ -33,8 +33,6 @@
- precip_intensity
- precip_probability
- precip_accumulation
- wind_speed
- wind_gust
- daily_summary
scan_interval:
# At least one of these must be specified:

5
zones.yaml

@ -0,0 +1,5 @@
- name: Home
latitude: !secret zone_home_latitude
longitude: !secret zone_home_longitude
radius: 100
icon: mdi:mdi-home
Loading…
Cancel
Save