Move zha-unavailable automation to template
This commit is contained in:
parent
2b13c4d8f4
commit
285a0dff7b
10
HELP.md
Normal file
10
HELP.md
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# List all zigbee devices for unavailable automation
|
||||||
|
|
||||||
|
```
|
||||||
|
{% set ids = integration_entities('zha') | map('device_id') | unique | list %}
|
||||||
|
{% set ns = namespace(result=[]) %}
|
||||||
|
{% for s in ids %}
|
||||||
|
{% set ns.result = ns.result + [ [s, device_attr(s, 'name_by_user')] ] %}
|
||||||
|
{% endfor %}
|
||||||
|
{{ ns.result }}
|
||||||
|
```
|
@ -3,414 +3,6 @@
|
|||||||
description: ''
|
description: ''
|
||||||
mode: single
|
mode: single
|
||||||
trigger:
|
trigger:
|
||||||
# 3D printer button
|
|
||||||
- device_id: a2ac0fa69738b8e7c5c1b8b8bcf8cdc2
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# 3D Printer Enclosure Fan
|
|
||||||
- device_id: d828efb2920a65f809572b4443949c34
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Bathroom 1
|
|
||||||
- device_id: e4e2b5a5acbc659acda6903255347b2f
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Bathroom 2
|
|
||||||
- device_id: 5b73436727bfa8200c7679fc74bf4ed6
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Bathroom 3
|
|
||||||
- device_id: f83343c95c22379e5e258e399b304abf
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Bathroom 4
|
|
||||||
- device_id: 2d1ba9769188a3e96dcffaf5936bf373
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Bathroom Button
|
|
||||||
- device_id: 36bf09a72c8115dd3afd832e83cf38ea
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Bathroom Mirror Button New
|
|
||||||
- device_id: ea9d3cc90cf5da1108925e50489efce9
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Bathroom Color Left
|
|
||||||
- device_id: 4e6ee35e16903d669c9377a2c54506ad
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Bathroom color middle
|
|
||||||
- device_id: a0e6c36436d0e9b13917a19cb1c73334
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Bathroom Color Right
|
|
||||||
- device_id: ff995d287a703404440c5953ff306725
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Bathroom Door
|
|
||||||
- device_id: 73910426c7f7c74dfc0dfd27b604f237
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Bathroom Mirror 1
|
|
||||||
- device_id: ba7b7736a67d7cbe1243c4600ff7172a
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Bathroom Mirror 2
|
|
||||||
- device_id: 431a642993b3f6ced020af47220e8daa
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Bathroom Mirror 3
|
|
||||||
- device_id: 27282412549132bda9825729d1a10a93
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Bathroom Motion
|
|
||||||
- device_id: f7f7369ab75c9166e3e07eada7ec24d4
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Bathroom Music Button
|
|
||||||
- device_id: e233cdffb05076ad7bb049581ffa8c9c
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Bathroom sensor
|
|
||||||
- device_id: 63f513a5ae3e3506f1a894d0d8a40ffe
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Bathroom Shower 1
|
|
||||||
- device_id: 0671395ab7b8b41f3c4c18b609761014
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Bathroom Shower 2
|
|
||||||
- device_id: e4fca1e680076337f8f651c9343e8f34
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Bathroom Shower 3
|
|
||||||
- device_id: 69c278dd0b4837d8841eb18e2a31db4d
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Bathroom Shower 4
|
|
||||||
- device_id: 30a22e9003809f544b312f28fa06c959
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Bathroom Shower Motion
|
|
||||||
- device_id: 80f3d0b9aa7ec4d108e6fdb99de88c5c
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Bathroom Washing Machine
|
|
||||||
- device_id: 6abd174075f468c040ac51979dfd09af
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Bathroom Washing Machine Leak
|
|
||||||
- device_id: 37960f1a830a898ad4ea92664ae4b496
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Bedroom Bed Button
|
|
||||||
- device_id: 0d584dbfe721e00880b38c4dfc1c108e
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Bedroom bed motion sensor
|
|
||||||
- device_id: 958ab5fb4d4c53dbd9772aeb8b5d9b7f
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Bedroom Blinds Button
|
|
||||||
- device_id: c90f649df514f80d36ca1a8fde308867
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Bedroom Blind Left
|
|
||||||
- device_id: 20528ec0582a58961a4841958b38f317
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Bedroom Blind Right
|
|
||||||
- device_id: 62f2278c1a8d3c18c35b1df719f164bc
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Bedroom button
|
|
||||||
- device_id: 15b083b6b5e2acb5d37fbbfbfc76281f
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Bedroom door
|
|
||||||
- device_id: cadb61ec05b7d4d510bedd659e76763a
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Bedroom Humidifier
|
|
||||||
- device_id: 740338e04236501ea50dd60485a405c0
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Bedroom MiTV
|
|
||||||
- device_id: 3597031909bf2286b98bde5af5f30bdb
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Bedroom motion
|
|
||||||
- device_id: cd1e032a1a26de8ba1396bf91f197e47
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Bedroom TV button
|
|
||||||
- device_id: 4d5298037e93ba11438409bff01b5005
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Bedroom window
|
|
||||||
- device_id: f6bbab8171167a6adaeee8e9df5e1e44
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Dining Blind controller (button)
|
|
||||||
- device_id: 6818c2a8921603a8a04e6c6f4d45a8ec
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Dining Blind Back
|
|
||||||
- device_id: 2911be746852886077667b2a884c1e61
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Dining Blind Left
|
|
||||||
- device_id: fc2d6b608eb4ed7111647ac3f6557677
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Dining Blind Middle
|
|
||||||
- device_id: ce8736246afb209b4d51f87be53cb191
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Dining Blind Right
|
|
||||||
- device_id: bb1e3890ee9f3b9de027a1af1c70ab92
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Dining leak sensor
|
|
||||||
- device_id: bb826c002afcea1c005151042ea6a3ca
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Dining illuminance sensor
|
|
||||||
- device_id: 9c0cfd20fd5b926615e816400912ebd5
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Dining Table lamp 1
|
|
||||||
- device_id: f931a95e4f3ac3cc4f0e8adcfe386a22
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Dining Table Lamp 2
|
|
||||||
- device_id: b1a3a895aa0d0a6099dbdd3f138cfb6a
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Dining Table Lamp 3
|
|
||||||
- device_id: 18ad1e945c1ddd3c2f61bcf1bf19d7de
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Dining Window 1
|
|
||||||
- device_id: df86a6dac9abad36589f94053f4ccf33
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Dining Window 2
|
|
||||||
- device_id: 5ddf37413c92dd8f92e4e2c2af82864c
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Front Door
|
|
||||||
- device_id: 671a24524db60c56b0a182ac816faf20
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Front Door Lock
|
|
||||||
- device_id: bc7822a199f47bb5d73bbda1055f649c
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Front Door Lock Button
|
|
||||||
- device_id: d30d25752f5e6741eb8d9562f5b44897
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Hallway Button
|
|
||||||
- device_id: cc4f08a2e2f0e5aebc43b87164378795
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Hallway Motion
|
|
||||||
- device_id: dcfb2052711f7b4458c0a12e7ee479de
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Kitchen button
|
|
||||||
- device_id: d2550c7b3da088e146edf7dc9d295310
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Kitchen Coffee machine
|
|
||||||
- device_id: 9e869c08e1f92a2f3d8a85c0d1b11dd7
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Kitchen Coffee machine (old)
|
|
||||||
- device_id: f22514f08e0a5e9f56af5e3c588bb97a
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Kitchen Coffee shopping button
|
|
||||||
- device_id: e915e4dcf9682d3be217b11fd6d96d13
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Kitchen Dishwasher
|
|
||||||
- device_id: 3d1d632093dbae1113be4ed5c1005c13
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Kitchen Freezer door
|
|
||||||
- device_id: 988edb7d9919162f3682500e295c40d4
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Kitchen Fridge leak sensor
|
|
||||||
- device_id: dd0622ae6241b21492fccccd97bad7bc
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Kitchen Meal button
|
|
||||||
- device_id: c0e0b405854000dcaa538cd0f3fc11de
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Kitchen Oatmeal button
|
|
||||||
- device_id: 99f942bf6462d2372012278e086721bf
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Kitchen Pasta button
|
|
||||||
- device_id: 75e43fd0f6c82fb9e7bc6ff7c30b8c9a
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Kitchen sink button
|
|
||||||
- device_id: 1610374adcb5c5c1a763616a57411eac
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Kitchen Sink motion sensor
|
|
||||||
- device_id: a1f7d8f69ffde756029a04c631b4b674
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Kitchen Spices button
|
|
||||||
- device_id: 7a94b22ef283777bbbc24ff9cb2547bd
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Kitchen Sink Leak Sensor
|
|
||||||
- device_id: c29730675b75e537380faf0a77feee5b
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Kitchen tabletop motion (Z-Wave)
|
# Kitchen tabletop motion (Z-Wave)
|
||||||
- platform: device
|
- platform: device
|
||||||
device_id: c7bb75d230dd4f8a5b7ece910f00c583
|
device_id: c7bb75d230dd4f8a5b7ece910f00c583
|
||||||
@ -418,103 +10,6 @@
|
|||||||
type: state.node_status
|
type: state.node_status
|
||||||
entity_id: sensor.node_6_node_status
|
entity_id: sensor.node_6_node_status
|
||||||
to: dead
|
to: dead
|
||||||
# Living Room Button
|
|
||||||
- device_id: 6f68b487f932c9b73d17ff82cb453617
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Office Blind Left
|
|
||||||
- device_id: 3e091d8ff8d780f05277bcb6cfacf17d
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Office Blind Right
|
|
||||||
- device_id: 1d39eb0ec70af8a92ee2faa5db18d204
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Office Blind button
|
|
||||||
- device_id: a47c928b108240ed8866f9f7a70bc844
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Office Computer Button
|
|
||||||
- device_id: 5b972523e427721ec88e095994f7cc16
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Office Computer Outlet
|
|
||||||
- device_id: 4d209e26971ac237d9792f370f844587
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Office Keylight button
|
|
||||||
- device_id: 800c754de6e6b10259f371adc123b909
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Office Motion Sensor
|
|
||||||
- device_id: 5dc8b6e216588033d4d31d8c3d561d70
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Office Window
|
|
||||||
- device_id: ceab8d95ef12c5ebd406302ec0f4178d
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Office Window vibration
|
|
||||||
- device_id: f5e5356b4a45190ec2dad08ca9f991e8
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Printer button
|
|
||||||
- device_id: 0c23a8e92f43f628e584dc1805c6915e
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Rack Outlet
|
|
||||||
- device_id: 54858d52b175bc720641cf916d513488
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Rack Modem
|
|
||||||
- device_id: f78edddd4ac841160c71f4a2b06b690c
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Rack smoke sensor
|
|
||||||
- device_id: c78013fc9d2556dcab3ebe30ee68bc5d
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
# Weather sensor
|
|
||||||
- device_id: 634c77691a8165970265cf32c44230f8
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
|
|
||||||
# OSRAM PLUG 01
|
|
||||||
- device_id: 49ddcff859ee646e49cbae5781d49222
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: device_offline
|
|
||||||
subtype: device_offline
|
|
||||||
action:
|
action:
|
||||||
- service: notify.mobile_app_iphone
|
- service: notify.mobile_app_iphone
|
||||||
data:
|
data:
|
||||||
|
@ -35,6 +35,17 @@
|
|||||||
name: Desk Lightbar
|
name: Desk Lightbar
|
||||||
- entityId: light.office
|
- entityId: light.office
|
||||||
name: Table lamp
|
name: Table lamp
|
||||||
|
- name: Include ZHA vars
|
||||||
|
include_vars:
|
||||||
|
file: zha-devices.yml
|
||||||
|
name: zha
|
||||||
|
- name: Build unavailable automations
|
||||||
|
delegate_to: localhost
|
||||||
|
template:
|
||||||
|
src: unavailable-zha.yaml.j2
|
||||||
|
dest: './build/automations/unavailable-zha.yaml'
|
||||||
|
vars:
|
||||||
|
devices: "{{ zha.devices }}"
|
||||||
- name: Build spices shopping automations
|
- name: Build spices shopping automations
|
||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
template:
|
template:
|
||||||
@ -106,4 +117,4 @@
|
|||||||
- name: Copy appdaemon
|
- name: Copy appdaemon
|
||||||
copy:
|
copy:
|
||||||
src: configuration/appdaemon
|
src: configuration/appdaemon
|
||||||
dest: '{{ pwd_config }}/appdaemon'
|
dest: '{{ pwd_config }}/appdaemon'
|
||||||
|
18
templates/unavailable-zha.yaml.j2
Normal file
18
templates/unavailable-zha.yaml.j2
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
- id: info_zha_unavailable_notice
|
||||||
|
alias: '[INFO][ZHA] Device offline'
|
||||||
|
mode: single
|
||||||
|
trigger:
|
||||||
|
{% for device in devices %}
|
||||||
|
# {{ device.name }}
|
||||||
|
- device_id: "{{ device.id }}"
|
||||||
|
domain: zha
|
||||||
|
platform: device
|
||||||
|
type: device_offline
|
||||||
|
subtype: device_offline
|
||||||
|
{% endfor %}
|
||||||
|
action:
|
||||||
|
- service: notify.mobile_app_iphone
|
||||||
|
data:
|
||||||
|
title: "Device unavailable"
|
||||||
|
message: >
|
||||||
|
{% raw %}{{ device_attr(trigger.event.data.device_id, 'name_by_user') }}{% endraw %} is unavailable
|
183
zha-devices.yml
Normal file
183
zha-devices.yml
Normal file
@ -0,0 +1,183 @@
|
|||||||
|
devices:
|
||||||
|
- name: 'Bedroom button'
|
||||||
|
id: '15b083b6b5e2acb5d37fbbfbfc76281f'
|
||||||
|
- name: 'Bedroom motion'
|
||||||
|
id: 'cd1e032a1a26de8ba1396bf91f197e47'
|
||||||
|
- name: 'Washing Machine Leak'
|
||||||
|
id: '37960f1a830a898ad4ea92664ae4b496'
|
||||||
|
- name: 'Kitchen Sink Leak Sensor'
|
||||||
|
id: 'c29730675b75e537380faf0a77feee5b'
|
||||||
|
- name: 'Office Window Sensor'
|
||||||
|
id: 'ceab8d95ef12c5ebd406302ec0f4178d'
|
||||||
|
- name: 'Freezer door'
|
||||||
|
id: '988edb7d9919162f3682500e295c40d4'
|
||||||
|
- name: 'Bedroom window'
|
||||||
|
id: 'f6bbab8171167a6adaeee8e9df5e1e44'
|
||||||
|
- name: 'Dining Window Sensor 1'
|
||||||
|
id: 'df86a6dac9abad36589f94053f4ccf33'
|
||||||
|
- name: 'Dining Window Sensor 2'
|
||||||
|
id: '5ddf37413c92dd8f92e4e2c2af82864c'
|
||||||
|
- name: 'Bathroom Motion'
|
||||||
|
id: 'f7f7369ab75c9166e3e07eada7ec24d4'
|
||||||
|
- name: 'Bathroom Door'
|
||||||
|
id: '73910426c7f7c74dfc0dfd27b604f237'
|
||||||
|
- name: 'Rack smoke sensor'
|
||||||
|
id: 'c78013fc9d2556dcab3ebe30ee68bc5d'
|
||||||
|
- name: 'Bedroom Bed Motion sensor'
|
||||||
|
id: '958ab5fb4d4c53dbd9772aeb8b5d9b7f'
|
||||||
|
- name: 'Computer Outlet'
|
||||||
|
id: '4d209e26971ac237d9792f370f844587'
|
||||||
|
- name: 'Bedroom door'
|
||||||
|
id: 'cadb61ec05b7d4d510bedd659e76763a'
|
||||||
|
- name: 'Front Door Sensor'
|
||||||
|
id: '671a24524db60c56b0a182ac816faf20'
|
||||||
|
- name: 'Hallway Motion'
|
||||||
|
id: 'dcfb2052711f7b4458c0a12e7ee479de'
|
||||||
|
- name: 'Kitchen Sink motion sensor'
|
||||||
|
id: 'a1f7d8f69ffde756029a04c631b4b674'
|
||||||
|
- name: 'Fridge leak sensor'
|
||||||
|
id: 'dd0622ae6241b21492fccccd97bad7bc'
|
||||||
|
- name: 'Rack outlet'
|
||||||
|
id: '54858d52b175bc720641cf916d513488'
|
||||||
|
- name: 'Humidifier leak'
|
||||||
|
id: '45887888b0b9ea753953c93194ba49f0'
|
||||||
|
- name: 'Office Motion Sensor'
|
||||||
|
id: '5dc8b6e216588033d4d31d8c3d561d70'
|
||||||
|
- name: 'Office Window Vibration Sensor'
|
||||||
|
id: 'f5e5356b4a45190ec2dad08ca9f991e8'
|
||||||
|
- name: 'Dining Plants Leak Sensor'
|
||||||
|
id: 'bb826c002afcea1c005151042ea6a3ca'
|
||||||
|
- name: 'Bathroom shower motion'
|
||||||
|
id: 'a2dab566a387babefa7e38632cbbf950'
|
||||||
|
- name: 'Bathroom Mirror 2'
|
||||||
|
id: '431a642993b3f6ced020af47220e8daa'
|
||||||
|
- name: 'Bathroom Mirror 3'
|
||||||
|
id: '27282412549132bda9825729d1a10a93'
|
||||||
|
- name: 'Bathroom Mirror 1'
|
||||||
|
id: 'ba7b7736a67d7cbe1243c4600ff7172a'
|
||||||
|
- name: '3D Printer button'
|
||||||
|
id: 'a2ac0fa69738b8e7c5c1b8b8bcf8cdc2'
|
||||||
|
- name: 'Bathroom Music Button'
|
||||||
|
id: 'e233cdffb05076ad7bb049581ffa8c9c'
|
||||||
|
- name: 'Bathroom 2'
|
||||||
|
id: '5b73436727bfa8200c7679fc74bf4ed6'
|
||||||
|
- name: 'Bathroom 3'
|
||||||
|
id: 'f83343c95c22379e5e258e399b304abf'
|
||||||
|
- name: 'Bathroom 1'
|
||||||
|
id: 'e4e2b5a5acbc659acda6903255347b2f'
|
||||||
|
- name: 'Shower 3'
|
||||||
|
id: '69c278dd0b4837d8841eb18e2a31db4d'
|
||||||
|
- name: 'Shower 1'
|
||||||
|
id: '0671395ab7b8b41f3c4c18b609761014'
|
||||||
|
- name: 'Shower 2'
|
||||||
|
id: 'e4fca1e680076337f8f651c9343e8f34'
|
||||||
|
- name: 'Shower 4'
|
||||||
|
id: '30a22e9003809f544b312f28fa06c959'
|
||||||
|
- name: 'Bedroom MiTV'
|
||||||
|
id: '3597031909bf2286b98bde5af5f30bdb'
|
||||||
|
- name: 'Weather'
|
||||||
|
id: '634c77691a8165970265cf32c44230f8'
|
||||||
|
- name: 'Bathroom 4'
|
||||||
|
id: '2d1ba9769188a3e96dcffaf5936bf373'
|
||||||
|
- name: 'Dining Blinds controller button'
|
||||||
|
id: '6818c2a8921603a8a04e6c6f4d45a8ec'
|
||||||
|
- name: 'Front Door Lock Button'
|
||||||
|
id: 'd30d25752f5e6741eb8d9562f5b44897'
|
||||||
|
- name: 'Bedroom Bed Button'
|
||||||
|
id: '0d584dbfe721e00880b38c4dfc1c108e'
|
||||||
|
- name: 'OSRAM PLUG 01'
|
||||||
|
id: '49ddcff859ee646e49cbae5781d49222'
|
||||||
|
- name: 'Living Room Button'
|
||||||
|
id: '6f68b487f932c9b73d17ff82cb453617'
|
||||||
|
- name: 'Kitchen sink button'
|
||||||
|
id: '1610374adcb5c5c1a763616a57411eac'
|
||||||
|
- name: 'Bedroom Blinds Button'
|
||||||
|
id: 'c90f649df514f80d36ca1a8fde308867'
|
||||||
|
- name: 'Bathroom Color Right'
|
||||||
|
id: 'ff995d287a703404440c5953ff306725'
|
||||||
|
- name: 'Bathroom Color Left'
|
||||||
|
id: '4e6ee35e16903d669c9377a2c54506ad'
|
||||||
|
- name: 'Humidifier'
|
||||||
|
id: '740338e04236501ea50dd60485a405c0'
|
||||||
|
- name: 'Hallway Button'
|
||||||
|
id: 'cc4f08a2e2f0e5aebc43b87164378795'
|
||||||
|
- name: 'Office illuminance sensor'
|
||||||
|
id: '9c0cfd20fd5b926615e816400912ebd5'
|
||||||
|
- name: 'Bathroom Color Middle'
|
||||||
|
id: 'a0e6c36436d0e9b13917a19cb1c73334'
|
||||||
|
- name: 'Bathroom Button'
|
||||||
|
id: '36bf09a72c8115dd3afd832e83cf38ea'
|
||||||
|
- name: 'Table Lamp 2'
|
||||||
|
id: 'b1a3a895aa0d0a6099dbdd3f138cfb6a'
|
||||||
|
- name: 'Table Lamp 3'
|
||||||
|
id: '18ad1e945c1ddd3c2f61bcf1bf19d7de'
|
||||||
|
- name: 'Bathroom Mirror Button'
|
||||||
|
id: 'ea9d3cc90cf5da1108925e50489efce9'
|
||||||
|
- name: 'Computer Button'
|
||||||
|
id: '5b972523e427721ec88e095994f7cc16'
|
||||||
|
- name: 'Office Blind button'
|
||||||
|
id: 'a47c928b108240ed8866f9f7a70bc844'
|
||||||
|
- name: 'Table Lamp 1'
|
||||||
|
id: 'f931a95e4f3ac3cc4f0e8adcfe386a22'
|
||||||
|
- name: 'Coffee Machine'
|
||||||
|
id: '9e869c08e1f92a2f3d8a85c0d1b11dd7'
|
||||||
|
- name: 'Kitchen Dishwasher'
|
||||||
|
id: '3d1d632093dbae1113be4ed5c1005c13'
|
||||||
|
- name: 'nas'
|
||||||
|
id: 'ebb69437d1c5ba7157cbbc99ca658e1f'
|
||||||
|
- name: 'Front Door Lock'
|
||||||
|
id: 'bc7822a199f47bb5d73bbda1055f649c'
|
||||||
|
- name: 'Dining Blind Back'
|
||||||
|
id: '2911be746852886077667b2a884c1e61'
|
||||||
|
- name: '3D Printer Enclosure Fan'
|
||||||
|
id: 'd828efb2920a65f809572b4443949c34'
|
||||||
|
- name: 'Printer button'
|
||||||
|
id: '0c23a8e92f43f628e584dc1805c6915e'
|
||||||
|
- name: 'LEGO Bookcase'
|
||||||
|
id: '2acd5652e349436aa9fc6d1d21e57585'
|
||||||
|
- name: Sonoff new doorbell
|
||||||
|
id: '5890fbcc638ec120a4ec6e2a848d99fd'
|
||||||
|
- name: 'Office Keylight button'
|
||||||
|
id: '800c754de6e6b10259f371adc123b909'
|
||||||
|
- name: 'Bedroom TV button'
|
||||||
|
id: '4d5298037e93ba11438409bff01b5005'
|
||||||
|
- name: 'Notification Cube'
|
||||||
|
id: '34ebf41278bdb2ec541a714e0695b97b'
|
||||||
|
- name: 'Mac Mini'
|
||||||
|
id: '9efc16a25da431be3f6e51f5aeed483f'
|
||||||
|
- name: 'Hallway light'
|
||||||
|
id: '51ccfedb1fb91196a2c2a1d4dbfc4883'
|
||||||
|
- name: 'Office Air Quality'
|
||||||
|
id: 'b7c7867f3d3d55e36cf01986d5fbfb4d'
|
||||||
|
- name: 'Office Camera Power'
|
||||||
|
id: 'af848a6e932b99701ffe0619a0aafc23'
|
||||||
|
- name: 'Bedroom Blind Left'
|
||||||
|
id: '20528ec0582a58961a4841958b38f317'
|
||||||
|
- name: 'Bedroom Blind Right'
|
||||||
|
id: '62f2278c1a8d3c18c35b1df719f164bc'
|
||||||
|
- name: 'Dining Blind Right'
|
||||||
|
id: 'bb1e3890ee9f3b9de027a1af1c70ab92'
|
||||||
|
- name: 'Dining Blind Middle'
|
||||||
|
id: 'ce8736246afb209b4d51f87be53cb191'
|
||||||
|
- name: 'Office Blind Right'
|
||||||
|
id: '1d39eb0ec70af8a92ee2faa5db18d204'
|
||||||
|
- name: 'Dining Blind Left'
|
||||||
|
id: 'fc2d6b608eb4ed7111647ac3f6557677'
|
||||||
|
- name: 'Office Blind Left'
|
||||||
|
id: '3e091d8ff8d780f05277bcb6cfacf17d'
|
||||||
|
- name: 'Conbee'
|
||||||
|
id: 'd3e84f205a51065fda512c9d700f2965'
|
||||||
|
- name: 'Washing Machine'
|
||||||
|
id: '6abd174075f468c040ac51979dfd09af'
|
||||||
|
- name: 'Kitchen button'
|
||||||
|
id: 'd2550c7b3da088e146edf7dc9d295310'
|
||||||
|
- name: 'Kitchen Meal Button'
|
||||||
|
id: 'c0e0b405854000dcaa538cd0f3fc11de'
|
||||||
|
- name: 'Kitchen oatmeal button'
|
||||||
|
id: '99f942bf6462d2372012278e086721bf'
|
||||||
|
- name: 'Kitchen pasta button'
|
||||||
|
id: '75e43fd0f6c82fb9e7bc6ff7c30b8c9a'
|
||||||
|
- name: 'Kitchen spices button'
|
||||||
|
id: '7a94b22ef283777bbbc24ff9cb2547bd'
|
||||||
|
- name: 'Kitchen coffee shopping button'
|
||||||
|
id: 'e915e4dcf9682d3be217b11fd6d96d13'
|
Loading…
Reference in New Issue
Block a user