Moving forward, updates to this subflow will be found at the following repository: https://github.com/sstratoti/actionable-notifications-subflow-for-ios
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Now with all 10! Too big for the forum post, so sharing via gist. | |
template: | |
- sensor: | |
- unique_id: plex_session_1 | |
name: Plex Session 1 (Tautulli) | |
icon: mdi:plex | |
state: > | |
{% if (state_attr('sensor.tautulli_activity','sessions')|length >= 1)%}{{ state_attr('sensor.tautulli_activity','sessions')[0].state }}{%else%}off{%endif %} | |
attributes: | |
user: > |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
binary_sensor: | |
- platform: template | |
sensors: | |
2nd_floor_hvac_cooling: | |
value_template: "{{ is_state_attr('climate.my_ecobee3', 'hvac_action', 'cooling') }}" | |
friendly_name: HVAC Cooling | |
- platform: template | |
sensors: | |
2nd_floor_fan_running: | |
value_template: "{{ is_state_attr('climate.my_ecobee3', 'fan', 'on') }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
button_card_templates: | |
dow_time_warning_card: | |
variables: | |
var_dow: '' | |
var_time: '' | |
var_critical_input_boolean: '' | |
var_warning_input_boolean: '' | |
custom_fields: | |
dow: | | |
[[[ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"id": "90e68c3c3bca25ff", | |
"type": "ha-entity", | |
"z": "eff29b39482d7ed4", | |
"name": "Active Alert", | |
"server": "74f36281.ae094c", | |
"version": 1, | |
"debugenabled": false, | |
"outputs": 1, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"id": "eec8b4376623cc26", | |
"type": "subflow", | |
"name": "HA Alert Queue", | |
"info": "", | |
"category": "", | |
"in": [ | |
{ | |
"x": 180, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
msg.notification = ''; | |
msg.notification_in = ''; | |
for (i=0; i < msg.payload.length; i++){ | |
if (msg.payload[i].name == "Steves-iPhone-BLE Room Presence"){ | |
if (msg.payload[i].distances['Living Room'].outOfRange) { | |
msg.notification += "<br> Living Room Out Of Range (" + msg.payload[i].distances['Living Room'].distance + ")"; | |
} else { | |
msg.notification_in += " <br> Living Room (" + msg.payload[i].distances['Living Room'].distance + ")"; | |
} | |
if (msg.payload[i].distances['Kitchen'].outOfRange) { |
NewerOlder