Jan Losinski
fd6fd765b2
Pilight switch: restore last state after restart ( #8580 )
...
* Pilight switch: restore last state after restart
This uses the restore_state helper to set the last known state to
pilight switches when the devices are initialized after a HA
restart.
Without this HA forget the state on every restart and needs to be told
the sttae by retoggling the switches. This can cause unwanted effects
as a switch toggling may emit an RF signal.
* Make hound happy
Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
* Remove entity_id generation as requested in review.
* Make hound happy again.
* fix comments
* fix lint
2017-08-22 16:40:14 +02:00
..
2017-07-16 10:14:46 -07:00
2017-08-08 20:21:33 +02:00
2017-03-10 23:10:35 +01:00
2017-05-02 22:47:20 +02:00
2016-10-11 00:56:57 -07:00
2017-07-05 20:02:16 -07:00
2017-07-05 20:02:16 -07:00
2017-07-16 21:39:38 +02:00
2017-08-08 22:36:59 +02:00
2017-05-02 09:18:47 -07:00
2017-06-30 08:46:03 +02:00
2017-08-08 20:21:33 +02:00
2017-07-11 22:44:01 +02:00
2017-03-19 22:02:11 +01:00
2017-05-02 09:18:47 -07:00
2017-07-23 23:53:03 -07:00
2017-07-22 20:34:58 +02:00
2017-05-02 22:47:20 +02:00
2017-05-02 09:18:47 -07:00
2017-07-05 20:02:16 -07:00
2017-07-05 20:02:16 -07:00
2017-08-13 22:37:50 -07:00
2017-04-03 00:01:53 -07:00
2016-09-11 20:18:53 +02:00
2017-05-02 22:47:20 +02:00
2017-05-02 09:18:47 -07:00
2017-08-08 20:21:33 +02:00
2017-05-02 22:47:20 +02:00
2017-07-05 20:02:16 -07:00
2017-08-03 10:51:01 +02:00
2017-07-06 22:30:23 -07:00
2017-08-15 23:04:57 -07:00
2017-07-05 20:02:16 -07:00
2017-04-18 09:03:56 -07:00
2017-08-09 23:22:08 +02:00
2017-05-26 13:12:17 -07:00
2017-05-03 10:11:39 +02:00
2017-08-22 16:40:14 +02:00
2017-07-05 20:02:16 -07:00
2017-01-17 23:40:34 +01:00
2017-08-11 19:55:57 -07:00
2017-08-15 20:03:40 +02:00
2017-06-04 23:56:21 -07:00
2017-06-12 22:27:25 -07:00
2017-07-06 15:59:54 +02:00
2017-05-04 23:50:53 -07:00
2017-07-05 20:02:16 -07:00
2017-05-09 22:36:33 -07:00
2017-03-10 14:56:13 +01:00
2017-05-02 09:18:47 -07:00
2016-06-12 23:04:45 +02:00
2017-05-02 09:18:47 -07:00
2017-05-02 09:18:47 -07:00
2017-06-05 17:33:57 +02:00
2017-05-02 09:18:47 -07:00
2017-05-02 09:18:47 -07:00
2017-05-02 09:18:47 -07:00
2017-07-26 14:03:29 +02:00
2017-05-02 22:47:20 +02:00
2017-06-30 08:53:14 +02:00
2017-05-02 09:18:47 -07:00
2017-08-08 20:21:33 +02:00
2017-07-05 23:30:01 -07:00
2017-08-11 08:35:45 +02:00
2017-08-13 09:54:43 +02:00
2017-05-02 09:18:47 -07:00
2017-05-02 09:18:47 -07:00
2016-10-29 13:10:42 -07:00
2017-05-02 22:47:20 +02:00