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