# Loads default set of integrations. Do not remove. default_config: # Load frontend themes from the themes folder frontend: themes: !include_dir_merge_named themes automation: !include automations.yaml script: !include scripts.yaml scene: !include scenes.yaml http: use_x_forwarded_for: true trusted_proxies: #- 172.19.0.2 # Add the IP address of the proxy server - 172.0.0.0/8 # You may also provide the subnet mask - 192.168.0.56 rest_command: # This api shows: Daily code, max/min temp, apperent max/min temp, sunrise/sunset/daylight, UV, percip sum/hours/probability get_phone_weather: # All in US units for 3 days out url: > {% set lat = state_attr('device_tracker.alexs_phone','latitude') %} {% set lon = state_attr('device_tracker.alexs_phone','longitude') %} https://api.open-meteo.com/v1/forecast?latitude={{lat}}&longitude={{lon}}&daily=weather_code,temperature_2m_max,temperature_2m_min,apparent_temperature_max,apparent_temperature_min,sunrise,daylight_duration,sunset,uv_index_max,precipitation_sum,precipitation_hours,precipitation_probability_max&timezone=America%2FNew_York&forecast_days=3&wind_speed_unit=mph&temperature_unit=fahrenheit&precipitation_unit=inch method: GET rest: !include_dir_merge_list rest/ monitor_docker: - name: Docker containers: - glances - habridge - homeassistant - nextcloud-app-1 - nextcloud-db-1 - nextcloud-redis-1 - portainer - syncthing rename: glances: 'Glances' habridge: 'Home Assistant Bridge' homeassistant: 'Home Assistant' nextcloud-app-1: 'Nextcloud Server' nextcloud-db-1: 'Nextcloud Database' nextcloud-redis-1: 'Nextcloud Redis' portainer: 'Portainer' syncthing: 'Syncthing' monitored_conditions: - version - containers_running - containers_paused - containers_stopped - containers_total - containers_memory_percentage - images - state - status - health - uptime - image - 1cpu_percentage - memory - memory_percentage scan_interval: 60