Fabian Peter Hammerle
|
c57260b7c0
drop compatibility with pyhon3.5
|
2 lat temu |
Fabian Peter Hammerle
|
e7f4e94687
tests: fix indeterministic log msg checks
|
4 lat temu |
Fabian Peter Hammerle
|
3685a4b488
fix mqtt run test on python3.5
|
4 lat temu |
Fabian Peter Hammerle
|
c790a93981
instruct sessions to lock on systemctl/hostname/lock-all-sessions
|
4 lat temu |
Fabian Peter Hammerle
|
9bb7a600ff
refactor: add attr poweroff_delay to state class
|
4 lat temu |
Fabian Peter Hammerle
|
8817fd95e8
refactor: new class _MQTTActionSchedulePoweroff
|
4 lat temu |
Fabian Peter Hammerle
|
292046b88d
added command line option --mqtt-disable-tls
|
4 lat temu |
Fabian Peter Hammerle
|
f1371e1fec
refactor: move some constants & methods to new systemctl_mqtt/_dbus.py
|
4 lat temu |
Fabian Peter Hammerle
|
56dc5bad31
prepare-for-shutdown: publish config for home assistant to enable automatic discovery
|
4 lat temu |
Fabian Peter Hammerle
|
47bb97bb07
retain msgs on systemctl/hostname/preparing-for-shutdown
|
4 lat temu |
Fabian Peter Hammerle
|
20dafb5c80
document shutdown report on systemctl/hostname/preparing-for-shutdown
|
4 lat temu |
Fabian Peter Hammerle
|
737289de2d
refactor mqtt test: remove superfluous mock
|
4 lat temu |
Fabian Peter Hammerle
|
cfe54ed0c1
subscribe to logind's PrepareForShutdown signal
|
4 lat temu |
Fabian Peter Hammerle
|
953b0db210
refactor: rename _Settings -> _State
|
4 lat temu |
Fabian Peter Hammerle
|
cea2382a94
tests: replace broken fixture with standard function
|
4 lat temu |
Fabian Peter Hammerle
|
9cdc01bbdb
refactor: split _run test
|
4 lat temu |
Fabian Peter Hammerle
|
45fe3cfc23
acquire shutdown inhibitor lock to reserve time to send mqtt msg before shutdown
|
4 lat temu |
Fabian Peter Hammerle
|
aee870c751
prepare glib loop to receive dbus signals
|
4 lat temu |
Fabian Peter Hammerle
|
6fc954ba94
refactor: replaced paho.mqtt.client.Client.on_message with specific .message_callback_add
|
4 lat temu |
Fabian Peter Hammerle
|
5327714546
mqtt test: remove unused import
|
4 lat temu |
Fabian Peter Hammerle
|
39b6bf4ea2
fix mqtt tests on python3.8
|
4 lat temu |
Fabian Peter Hammerle
|
f28d4546ea
adapt _run tests: no longer mock entire client class
|
4 lat temu |
Fabian Peter Hammerle
|
f9af627eef
tests / python3.5: fix AttributeError due to unavailable MagicMock.assert_called_once
|
4 lat temu |
Fabian Peter Hammerle
|
69d25fe917
fix _mqtt_on_message test
|
4 lat temu |
Fabian Peter Hammerle
|
9c115aef90
enable tls
|
4 lat temu |
Fabian Peter Hammerle
|
0d1e0eb16c
tests: added license header
|
4 lat temu |
Fabian Peter Hammerle
|
1574063886
mqtt message on topic systemctl/hostname/poweroff schedules poweroff with delay of 4 seconds
|
4 lat temu |