mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-17 19:06:53 +00:00
Hmm .. A Bunch of updates.. and Wink Update notifications!
This commit is contained in:
25
automation/System/Wink_update_notification.yaml
Executable file
25
automation/System/Wink_update_notification.yaml
Executable file
@@ -0,0 +1,25 @@
|
|||||||
|
- alias: "Wink Update Available Notification"
|
||||||
|
hide_entity: True
|
||||||
|
trigger:
|
||||||
|
platform: template
|
||||||
|
value_template: "{{ is_state_attr('binary_sensor.carlowink', 'update needed', True) }} != False }}"
|
||||||
|
|
||||||
|
action:
|
||||||
|
- service: script.ifttt_notify
|
||||||
|
data_template:
|
||||||
|
value1: 'Check the Wink Hub. Update is needed.'
|
||||||
|
value2: "{{ states.binary_sensor.carlowink.attributes }}"
|
||||||
|
value3: ''
|
||||||
|
|
||||||
|
- service: notify.html5
|
||||||
|
data_template:
|
||||||
|
title: "Wink Update Available"
|
||||||
|
message: "Wink Update is available. - {{ as_timestamp(now()) | timestamp_custom('%I:%M:%S %p %d%b%Y', true) }}"
|
||||||
|
data:
|
||||||
|
url: "https://home-assistant.io/getting-started/installation-raspberry-pi-all-in-one/#upgrading"
|
||||||
|
|
||||||
|
- service: persistent_notification.create
|
||||||
|
data:
|
||||||
|
title: "Wink Update Available"
|
||||||
|
message: "Wink Update is available. - {{ as_timestamp(now()) | timestamp_custom('%I:%M:%S %p %d%b%Y', true) }}"
|
||||||
|
notification_id: "update_available"
|
@@ -1 +1 @@
|
|||||||
{"51": "light.led_garage_large", "6": "group.dining_room_lights", "5": "switch.living_room_amp", "50": "input_boolean.flash", "17": "input_boolean.guest_mode", "9": "switch.living_room_outlet", "8": "switch.printer_outlet", "33": "group.office_lights", "19": "group.all_switches", "38": "scene.front_full_brightness", "28": "switch.foyer_outlet", "46": "light.garage_large", "35": "input_boolean.school_mode", "30": "switch.outlet_304_4", "4": "group.dinette_lights", "47": "switch.ge_outdoor_outle_switch_7_0", "10": "group.garage_lights", "39": "input_boolean.last_message", "31": "group.outdoor_lights", "37": "input_boolean.alert_mode", "41": "input_boolean.home_stats", "22": "light.outdoor_den", "21": "group.bedroom_lights", "45": "input_boolean.work", "34": "group.exterior_lights", "44": "input_boolean.good_morning", "49": "input_boolean.guard_dog", "43": "input_boolean.tv_time", "48": "switch.ge_outdoor_outle_switch_8_0", "53": "input_boolean.color_tornado", "14": "switch.den_outlet", "16": "switch.kitchen_accent_2", "54": "light.led_outdoor_den", "52": "light.led_garage_small", "36": "input_boolean.speech_notifications", "42": "input_boolean.meal_time", "40": "input_boolean.responsibilities", "2": "group.outdoor_front_lights", "20": "switch.garage_outlet", "13": "group.kitchen_lights", "1": "switch.front_door_outlet", "26": "scene.living_room_tv_time", "29": "group.amps", "3": "switch.kitchen_accents", "24": "group.outdoor_pool_lights", "12": "group.all_lights", "15": "group.hallway_lights", "7": "group.living_room_accents", "27": "group.upstairs_lights", "25": "group.interior_lights", "18": "group.den_lights", "11": "group.foyer_lights", "23": "light.garage_left", "32": "group.living_room_lights"}
|
{"13": "group.kitchen_lights", "46": "light.garage_large", "10": "group.garage_lights", "30": "switch.outlet_304_4", "47": "switch.ge_outdoor_outle_switch_7_0", "52": "light.led_garage_small", "18": "group.den_lights", "22": "light.outdoor_den", "56": "input_boolean.medicine", "39": "input_boolean.last_message", "15": "group.hallway_lights", "12": "group.all_lights", "38": "scene.front_full_brightness", "33": "group.office_lights", "8": "switch.printer_outlet", "14": "switch.den_outlet", "20": "switch.garage_outlet", "23": "light.garage_left", "34": "group.exterior_lights", "57": "input_boolean.garage_check", "31": "group.outdoor_lights", "27": "group.upstairs_lights", "40": "input_boolean.responsibilities", "4": "group.dinette_lights", "48": "switch.ge_outdoor_outle_switch_8_0", "49": "input_boolean.guard_dog", "53": "input_boolean.color_tornado", "25": "group.interior_lights", "42": "input_boolean.meal_time", "9": "switch.living_room_outlet", "45": "input_boolean.work", "11": "group.foyer_lights", "51": "light.led_garage_large", "16": "switch.kitchen_accent_2", "54": "light.led_outdoor_den", "35": "input_boolean.school_mode", "6": "group.dining_room_lights", "19": "group.all_switches", "17": "input_boolean.guest_mode", "28": "switch.foyer_outlet", "2": "group.outdoor_front_lights", "21": "group.bedroom_lights", "1": "switch.front_door_outlet", "41": "input_boolean.home_stats", "50": "input_boolean.flash", "3": "switch.kitchen_accents", "5": "switch.living_room_amp", "44": "input_boolean.good_morning", "55": "input_boolean.outside_weather", "32": "group.living_room_lights", "43": "input_boolean.tv_time", "7": "group.living_room_accents", "24": "group.outdoor_pool_lights", "26": "scene.living_room_tv_time", "29": "group.amps", "36": "input_boolean.speech_notifications", "37": "input_boolean.alert_mode"}
|
@@ -12,6 +12,7 @@ Network:
|
|||||||
- sensor.wii
|
- sensor.wii
|
||||||
- sensor.hue_hub_1
|
- sensor.hue_hub_1
|
||||||
- sensor.hue_hub_2
|
- sensor.hue_hub_2
|
||||||
|
- binary_sensor.carlowink
|
||||||
- sensor.tablotv
|
- sensor.tablotv
|
||||||
- sensor.alexa_echo
|
- sensor.alexa_echo
|
||||||
- sensor.amazon_dot
|
- sensor.amazon_dot
|
||||||
|
@@ -2,9 +2,10 @@
|
|||||||
# recorder
|
# recorder
|
||||||
############################################################
|
############################################################
|
||||||
|
|
||||||
purge_days: 7
|
purge_days: 4
|
||||||
exclude:
|
exclude:
|
||||||
entities:
|
entities:
|
||||||
|
- sensor.ha_uptime
|
||||||
- sensor.weather_apparent_temperature
|
- sensor.weather_apparent_temperature
|
||||||
- sensor.weather_humidity
|
- sensor.weather_humidity
|
||||||
- sensor.weather_icon
|
- sensor.weather_icon
|
||||||
|
@@ -63,9 +63,9 @@ voice_notify:
|
|||||||
data_template:
|
data_template:
|
||||||
volume_level: >
|
volume_level: >
|
||||||
{% if now().strftime("%H")|int < 12 and now().strftime("%H")|int > 6%}
|
{% if now().strftime("%H")|int < 12 and now().strftime("%H")|int > 6%}
|
||||||
0.4
|
0.35
|
||||||
{% elif now().strftime("%H")|int > 12 and now().strftime("%H")|int < 20%}
|
{% elif now().strftime("%H")|int > 12 and now().strftime("%H")|int < 20%}
|
||||||
0.6
|
0.55
|
||||||
{% else %}
|
{% else %}
|
||||||
0.3
|
0.3
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@@ -138,9 +138,6 @@ voice_notify:
|
|||||||
|
|
||||||
{{ personarriving }}
|
{{ personarriving }}
|
||||||
|
|
||||||
{% if is_state('input_boolean.responsibilities', 'on') %}
|
|
||||||
{{responsibilities()}}
|
|
||||||
{%endif%}
|
|
||||||
{{ NestStatus}}
|
{{ NestStatus}}
|
||||||
{% if is_state('input_boolean.inside_weather', 'on') %}
|
{% if is_state('input_boolean.inside_weather', 'on') %}
|
||||||
{{inside_weather()}}
|
{{inside_weather()}}
|
||||||
|
@@ -4,7 +4,8 @@
|
|||||||
|
|
||||||
- platform: command_line
|
- platform: command_line
|
||||||
name: HA Installed Version
|
name: HA Installed Version
|
||||||
command: "/srv/hass/hass_venv/bin/hass --version"
|
command: >-
|
||||||
|
cat $HASS_CONFIG/.HA_VERSION
|
||||||
scan_interval: 86400
|
scan_interval: 86400
|
||||||
|
|
||||||
- platform: command_line
|
- platform: command_line
|
||||||
|
Reference in New Issue
Block a user