From 3c40ee265df2759437e375ca29264a2dcda8aceb Mon Sep 17 00:00:00 2001 From: darthsandmann Date: Sun, 31 Jul 2022 02:46:27 +0200 Subject: [PATCH] Sync Updates --- lovelace/overview/climate.yaml | 2 +- ....yaml => climate_automation.yaml.disabled} | 0 ...puts.yaml => climate_inputs.yaml.disabled} | 0 ...pts.yaml => climate_scripts.yaml.disabled} | 0 ...ors.yaml => climate_sensors.yaml.disabled} | 0 packages/homeassistant/homeassistant.yaml | 29 ++++++++++++++++++- packages/homeassistant/lovelace.yaml | 12 +++++--- packages/pfsense/pfsense_automations.yaml | 29 +++++++++++++++++++ .../{darksky.yaml => pirate_weather.yaml} | 11 +++---- 9 files changed, 72 insertions(+), 11 deletions(-) rename packages/climate/{climate_automation.yaml => climate_automation.yaml.disabled} (100%) rename packages/climate/{climate_inputs.yaml => climate_inputs.yaml.disabled} (100%) rename packages/climate/{climate_scripts.yaml => climate_scripts.yaml.disabled} (100%) rename packages/climate/{climate_sensors.yaml => climate_sensors.yaml.disabled} (100%) create mode 100644 packages/pfsense/pfsense_automations.yaml rename packages/{darksky.yaml => pirate_weather.yaml} (69%) diff --git a/lovelace/overview/climate.yaml b/lovelace/overview/climate.yaml index fc87aca..fe37586 100644 --- a/lovelace/overview/climate.yaml +++ b/lovelace/overview/climate.yaml @@ -27,7 +27,7 @@ ulm_card_graph_name: Temperature ulm_card_graph_entity: sensor.temperature_kai_temperature ulm_card_graph_color2: "var(--google-green)" - ulm_card_graph_entity2: sensor.temperature_outside_darksky + ulm_card_graph_entity2: sensor.temperature_outside_pirateweather ulm_card_graph_type: fill ulm_card_graph_hours: 6 diff --git a/packages/climate/climate_automation.yaml b/packages/climate/climate_automation.yaml.disabled similarity index 100% rename from packages/climate/climate_automation.yaml rename to packages/climate/climate_automation.yaml.disabled diff --git a/packages/climate/climate_inputs.yaml b/packages/climate/climate_inputs.yaml.disabled similarity index 100% rename from packages/climate/climate_inputs.yaml rename to packages/climate/climate_inputs.yaml.disabled diff --git a/packages/climate/climate_scripts.yaml b/packages/climate/climate_scripts.yaml.disabled similarity index 100% rename from packages/climate/climate_scripts.yaml rename to packages/climate/climate_scripts.yaml.disabled diff --git a/packages/climate/climate_sensors.yaml b/packages/climate/climate_sensors.yaml.disabled similarity index 100% rename from packages/climate/climate_sensors.yaml rename to packages/climate/climate_sensors.yaml.disabled diff --git a/packages/homeassistant/homeassistant.yaml b/packages/homeassistant/homeassistant.yaml index ba3c8b9..6dfef91 100644 --- a/packages/homeassistant/homeassistant.yaml +++ b/packages/homeassistant/homeassistant.yaml @@ -10,4 +10,31 @@ homeassistant: - '/tmp' -default_config: \ No newline at end of file +http: + use_x_forwarded_for: true + trusted_proxies: + - 127.0.0.1 + - ::1 + - 192.168.1.2 + - 192.168.1.1 + - 192.168.1.16 + - 172.30.33.0/24 + + +#default_config: +automation: +counter: +dhcp: +energy: +frontend: +history: +map: +mobile_app: +person: +ssdp: +system_health: +timer: +usb: +webhook: +zeroconf: +zone: \ No newline at end of file diff --git a/packages/homeassistant/lovelace.yaml b/packages/homeassistant/lovelace.yaml index 170c54b..e849465 100644 --- a/packages/homeassistant/lovelace.yaml +++ b/packages/homeassistant/lovelace.yaml @@ -16,11 +16,15 @@ lovelace: type: module - url: /hacsfiles/my-cards/my-slider.js type: module + #- url: /hacsfiles/my-cards/my-slider-v2.js + # type: module + - url: /hacsfiles/my-cards/my-button.js + type: module - url: /hacsfiles/simple-weather-card/simple-weather-card-bundle.js type: module - url: /hacsfiles/home-assistant-sun-card/home-assistant-sun-card.js type: module - #- url: /hacsfiles/lovelace-layout-card/layout-card.js - # type: module - #- url: /hacsfiles/lovelace-state-switch/state-switch.js - # type: module \ No newline at end of file + - url: /hacsfiles/lovelace-layout-card/layout-card.js + type: module + - url: /hacsfiles/lovelace-state-switch/state-switch.js + type: module \ No newline at end of file diff --git a/packages/pfsense/pfsense_automations.yaml b/packages/pfsense/pfsense_automations.yaml new file mode 100644 index 0000000..c183d2d --- /dev/null +++ b/packages/pfsense/pfsense_automations.yaml @@ -0,0 +1,29 @@ +automation: + - alias: "pfSense WAN Down" + trigger: + - platform: state + entity_id: sensor.pfsense_gateway_wan_gw_status + to: 'False' + action: + - service: notify.notify + data: + message: "WAN Gateway went offline" + + - alias: "pfSense Mullvad Down" + trigger: + - platform: state + entity_id: sensor.pfsense_gateway_mullvad1gw_status + to: 'False' + - platform: state + entity_id: sensor.pfsense_gateway_mullvad1gwv6_status + to: 'False' + - platform: state + entity_id: sensor.pfsense_gateway_mullvad2gw_status + to: 'False' + - platform: state + entity_id: sensor.pfsense_gateway_mullvad2gwv6_status + to: 'False' + action: + - service: notify.notify + data: + message: "A Mullvad connection went offline" \ No newline at end of file diff --git a/packages/darksky.yaml b/packages/pirate_weather.yaml similarity index 69% rename from packages/darksky.yaml rename to packages/pirate_weather.yaml index 400de81..44cea2c 100644 --- a/packages/darksky.yaml +++ b/packages/pirate_weather.yaml @@ -1,5 +1,5 @@ ## -------------------------------------------------------------------------------------------------## -## DarkSky +## pirateweather ## -------------------------------------------------------------------------------------------------## @@ -7,8 +7,8 @@ ## Wetter-Plattform ## -------------------------------------------------------------------------------------------------## weather: - - platform: darksky - api_key: !secret darksky + - platform: pirateweather + api_key: !secret pirateweather mode: daily sun: @@ -16,7 +16,8 @@ sun: sensor: - platform: template + #api_key: !secret pirateweather sensors: - temperature_outside_darksky: - value_template: '{{ states.weather.dark_sky.attributes.temperature }}' + temperature_outside_pirateweather: + value_template: '{{ states.weather.pirateweather.attributes.temperature }}' friendly_name: 'Outside Temperature' \ No newline at end of file