@@ -24,9 +24,10 @@ blueprint:
2424 description : Select the Awtrix light
2525 selector :
2626 device :
27- integration : mqtt
28- manufacturer : Blueforcer
29- model : AWTRIX 3
27+ filter :
28+ integration : mqtt
29+ manufacturer : Blueforcer
30+ model : AWTRIX 3
3031 multiple : true
3132 app_name :
3233 name : Awtrix Applicaiton name
@@ -39,10 +40,11 @@ blueprint:
3940 description : Binary sensor to track door status
4041 selector :
4142 entity :
42- domain :
43- - binary_sensor
44- - input_boolean
45- - cover
43+ filter :
44+ domain :
45+ - binary_sensor
46+ - input_boolean
47+ - cover
4648 open_text :
4749 name : 📝 Device Opened Message
4850 description : Text to be displayed when an open event occurs
@@ -176,6 +178,18 @@ blueprint:
176178 `garage_open.gif`,`garage_is_open.gif` `garage_close.gif` `garage_error.gif`
177179
178180
181+ ### Blinds
182+
183+ (Images are blurry because they are resized)
184+
185+ <img src="https://raw.githubusercontent.com/jeeftor/HomeAssistant/master/icons/door_monitor_blinds/blinds_open.gif" width="16">
186+ <img src="https://raw.githubusercontent.com/jeeftor/HomeAssistant/master/icons/door_monitor_blinds/blinds_is_open.gif" width="16">
187+ <img src="https://raw.githubusercontent.com/jeeftor/HomeAssistant/master/icons/door_monitor_blinds/blinds_close.gif" width="16">
188+ <img src="https://raw.githubusercontent.com/jeeftor/HomeAssistant/master/icons/door_monitor_blinds/blinds_error.gif" width="16">
189+
190+ `blinds_open.gif`,`blinds_is_open.gif` `blinds_close.gif` `blinds_error.gif`
191+
192+
179193 # CUSTOM ICONS BELOW
180194
181195 The icon settings below only will take effect if you've selected custom
@@ -192,6 +206,8 @@ blueprint:
192206 value : garage
193207 - label : Window
194208 value : window
209+ - label : Blinds
210+ value : blinds
195211 - label : Use Custom icons
196212 value : custom
197213
@@ -352,17 +368,17 @@ trigger_variables:
352368 trigger_sensor : !input trigger_sensor
353369
354370trigger :
355- - platform : time_pattern
371+ - trigger : time_pattern
356372 minutes : /1
357373 id : time
358- - platform : template
374+ - trigger : template
359375 id : opened
360376 value_template : " {{ states(trigger_sensor) in ['on', 'open'] }}"
361- - platform : template
377+ - trigger : template
362378 value_template : " {{ states(trigger_sensor) in ['closed','off'] }}"
363379 id : closed
364- - platform : template
365- value_template : " {{ states(trigger_sensor) not in ['off','on', 'open','closed'] }}"
380+ - trigger : template
381+ value_template : " {{ states(trigger_sensor) not in ['off','on', 'open','closed', 'closing', 'opening' ] }}"
366382 id : error
367383
368384condition : []
@@ -382,12 +398,29 @@ action:
382398 - repeat :
383399 for_each : " {{ message_topics }}"
384400 sequence :
385- - service : mqtt.publish
401+ - action : mqtt.publish
386402 data :
387403 qos : 0
388404 retain : false
389405 topic : " {{ repeat.item }}"
390406 payload : " {{is_open_payload}}"
407+ # Fix an issue with a lingering close state after reboot
408+ - conditions :
409+ - and :
410+ - condition : trigger
411+ id : time
412+ - condition : template
413+ value_template : " {{ states(trigger_sensor) in ['off', 'closed'] }}"
414+ sequence :
415+ - repeat :
416+ for_each : " {{ message_topics }}"
417+ sequence :
418+ - action : mqtt.publish
419+ data :
420+ qos : 0
421+ retain : false
422+ topic : " {{ repeat.item }}"
423+ payload : " {}"
391424
392425 # Door open logic (Notification + message)
393426 - conditions :
@@ -397,7 +430,7 @@ action:
397430 - repeat :
398431 for_each : " {{ notification_topics }}"
399432 sequence :
400- - service : mqtt.publish
433+ - action : mqtt.publish
401434 data :
402435 qos : 0
403436 retain : false
@@ -412,7 +445,7 @@ action:
412445 - repeat :
413446 for_each : " {{ notification_topics }}"
414447 sequence :
415- - service : mqtt.publish
448+ - action : mqtt.publish
416449 data :
417450 qos : 0
418451 retain : false
@@ -422,7 +455,7 @@ action:
422455 - repeat :
423456 for_each : " {{ message_topics }}"
424457 sequence :
425- - service : mqtt.publish
458+ - action : mqtt.publish
426459 data :
427460 qos : 0
428461 retain : false
@@ -437,7 +470,7 @@ action:
437470 - repeat :
438471 for_each : " {{ notification_topics }}"
439472 sequence :
440- - service : mqtt.publish
473+ - action : mqtt.publish
441474 data :
442475 qos : 0
443476 retain : false
@@ -447,7 +480,7 @@ action:
447480 - repeat :
448481 for_each : " {{ message_topics }}"
449482 sequence :
450- - service : mqtt.publish
483+ - action : mqtt.publish
451484 data :
452485 qos : 0
453486 retain : false
0 commit comments