|
@@ -34,6 +34,16 @@ slots:
|
|
write:
|
|
write:
|
|
- $SNAP_DATA
|
|
- $SNAP_DATA
|
|
|
|
|
|
|
|
+hooks:
|
|
|
|
+ install:
|
|
|
|
+ plugs:
|
|
|
|
+ - network
|
|
|
|
+ - network-bind
|
|
|
|
+ prepare-slot-certs:
|
|
|
|
+ plugs:
|
|
|
|
+ - network
|
|
|
|
+ - network-bind
|
|
|
|
+
|
|
apps:
|
|
apps:
|
|
hass:
|
|
hass:
|
|
command: bin/hass --config $SNAP_DATA
|
|
command: bin/hass --config $SNAP_DATA
|
|
@@ -70,12 +80,6 @@ apps:
|
|
- network
|
|
- network
|
|
- network-bind
|
|
- network-bind
|
|
|
|
|
|
-hooks:
|
|
|
|
- prepare-slot-certs:
|
|
|
|
- plugs:
|
|
|
|
- - network
|
|
|
|
- - network-bind
|
|
|
|
-
|
|
|
|
parts:
|
|
parts:
|
|
homeassistant:
|
|
homeassistant:
|
|
plugin: python-wot-plugin
|
|
plugin: python-wot-plugin
|
|
@@ -138,6 +142,7 @@ parts:
|
|
- gpg
|
|
- gpg
|
|
- gpg-agent
|
|
- gpg-agent
|
|
organize:
|
|
organize:
|
|
|
|
+ install: snap/hooks/install
|
|
configure: snap/hooks/configure
|
|
configure: snap/hooks/configure
|
|
post-refresh: snap/hooks/post-refresh
|
|
post-refresh: snap/hooks/post-refresh
|
|
prepare-slot-certs: snap/hooks/prepare-slot-certs
|
|
prepare-slot-certs: snap/hooks/prepare-slot-certs
|