Skip to content

heinemannj/home-assistant-config

Repository files navigation

Home Assistant Configuration and Documentation

License GitHub Last Commit GitHub Stars GitHub Watchers GitHub Forks

Community Forum

  • Home Assistant Configuration & Documentation for my Smart House.
  • Write-ups, part lists, and links throughout.

Architecture

General Information

This configuration controls a couple of significant features in my smart home.

  • Floor heating
  • Huawei SUN2000 solar inverter and connected Huawei LUNA2000 battery
  • ...

Dashboards

Copy the following folder

  • YAML packages <config>/packages

to your HA <config> folder and modify your <config>/configuration.yaml:

homeassistant:
  customize_glob: !include customize_glob.yaml
  customize: !include customize.yaml
  packages:
    dwd_pollenflug: !include packages/dwd-pollenflug-package.yaml
    dwd_weather_warnings: !include packages/dwd-weather-warnings-package.yaml
    geo_rss_feeds: !include packages/geo-rss-feeds-package.yaml
    heating: !include packages/heating-package.yaml
    hochwasser: !include packages/hochwasser-package.yaml
    huawei_solar_yield: !include packages/huawei-solar-yield-package.yaml
    huawei_solar_battery_card: !include packages/huawei-solar-battery-card-package.yaml
    huawei_solar_battery_correction: !include packages/huawei-solar-battery-correction-package.yaml
    huawei_solar_diagnostic: !include packages/huawei-solar-diagnostic-package.yaml
    huawei_solar_power_flow_card: !include packages/huawei-solar-power-flow-card-package.yaml
    huawei_solar_energy_flow_card: !include packages/huawei-solar-energy-flow-card-package.yaml
    illuminance: !include packages/illuminance-package.yaml
    local_calendar: !include packages/local-calendar-package.yaml
    mold_indicator: !include packages/mold-indicator-package.yaml
    moon_phase_image: !include packages/moon_phase_image-package.yaml
    mqtt_sensor: !include packages/mqtt-sensor-package.yaml
    powercalc: !include packages/powercalc-package.yaml
    pulsemeter: !include packages/pulsemeter-package.yaml
    shelly_light: !include packages/shelly-light-package.yaml
    shelly_sockets: !include packages/shelly-sockets-package.yaml
    # skyfield: !include packages/skyfield-package.yaml
    solcast_solar: !include packages/solcast-solar-package.yaml
    temperature_feels_like: !include packages/temperature-feels-like-package.yaml
    xiaomi_miio_fan: !include packages/xiaomi-miio-fan-package.yaml

Copy the following folders

  • YAML dashboards <config>/dashboards
  • Jinja templates used in cards <config>/custom_templates
  • Card-Mod theme (css styles) <config>/themes/dashboards.yaml
  • Card background images <config>/www/images

to your HA <config> folder and modify your <config>/configuration.yaml and <config>/ui-lovelace.yaml.

<config>/configuration.yaml

automation: !include automations.yaml
group: !include groups.yaml
lovelace: !include ui-lovelace.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
frontend:
  themes: !include_dir_merge_named themes

<config>/ui-lovelace.yaml

# UI managed dashboards
#
mode: storage
# Additional YAML dashboards
#
dashboards:
  100-rooms-yaml:
    mode: yaml
    title: 100_Rooms
    icon: mdi:home
    show_in_sidebar: true
    filename: dashboards/100-rooms/index.yaml

image

image

image

image

image

  420-pv-yaml:
    mode: yaml
    title: 420_PV
    icon: mdi:solar-power-variant
    show_in_sidebar: true
    filename: dashboards/420-pv/index.yaml

image

image

image

  406-heating-yaml:
    mode: yaml
    title: 406_Heating
    icon: mdi:hvac
    show_in_sidebar: true
    filename: dashboards/406-heating/index.yaml

image

Notes

  • Private information is stored in secrets.yaml (not uploaded).