Michael Wei
fb3c755c2e
introduce black formatter
2020-11-21 19:46:57 +00:00
Frederik Gladhorn
919139d9e8
Add logging
...
Instead of using print, let's use Python's logging framework. That
allows switching verbosity easily and filtering out unwanted messages.
Some of the setup code is inspired by what Home Assistant does.
2020-01-31 22:01:17 +01:00
Aaron Godfrey
8ed1ae3c1b
Addressing PR comments.
2019-07-05 23:23:34 -07:00
Aaron Godfrey
763d9f9887
Don't raise an exception if we encounter an enum value that's not known.
...
Instead log a warning and return a value of 'Unknown'.
2019-07-05 16:01:21 -07:00
Aaron Godfrey
48684c14fd
Added a data directory with known values for washers/dryers.
...
Also added temp_control and time_Dry properties to dryer status.
2019-07-05 13:58:55 -07:00
Aaron Godfrey
552b6b4de9
Added soem tests.
2019-07-02 17:56:27 -07:00
aaron.godfrey
5ff879aa36
Some modifications to the dryer state.
2019-07-01 15:58:28 -07:00