bundles/homeassistant: rework check_homeassistant_update

This commit is contained in:
Franzi 2024-09-27 08:42:58 +02:00
parent abdc7f751e
commit 4a28bc55c0
Signed by: kunsi
GPG key ID: 12E3D2136B818350
3 changed files with 35 additions and 41 deletions

View file

@ -30,7 +30,7 @@ files = {
'/usr/local/share/icinga/plugins/check_homeassistant_update': {
'content_type': 'mako',
'context': {
'bearer': repo.vault.decrypt(node.metadata.get('homeassistant/api_secret')),
'token': node.metadata.get('homeassistant/api_secret'),
'domain': node.metadata.get('homeassistant/domain'),
},
'mode': '0755',