1
0
mirror of https://github.com/no2chem/wideq.git synced 2025-05-28 04:50:23 -07:00

18 Commits

Author SHA1 Message Date
Frederik Gladhorn
5a20b35171 Report what data is available when ModelInfo contains unexpected types
It seems that the data can cointain strings (see issue #62). Let's dump what
data we have available to be able to debug this.
2020-01-13 12:51:19 +01:00
Frederik Gladhorn
655bace1ba Test Gateway instantiation and remove gateway_info
The function just forwarded to do one API call, do the same call inline
and improve testing at the same time by checking that 'Gateway' gets
instantiated correctly.
2020-01-12 21:42:10 +01:00
Adrian Sampson
78b48f0831 Whitespace fixes 2019-08-12 09:37:22 -04:00
Dermot Duffy
92be23f18b Add dishwasher unittest. 2019-08-11 22:05:01 -07:00
Aaron Godfrey
89967d0d76 Adding a washer device. 2019-07-09 14:34:58 -07: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
53f736b5c6 Merge branch 'master' into feature/add-dryer-device 2019-07-02 17:57:15 -07:00
Aaron Godfrey
552b6b4de9 Added soem tests. 2019-07-02 17:56:27 -07:00
Aaron Godfrey
2636e8617b Added some tests. 2019-07-02 17:52:44 -07:00
Aaron Godfrey
166af43277 Fixes the ReferenceValue type.
This type is a reference to another key at the root of the data.
Prior to this PR we were just storing the name and not the value that
the reference pointed to.
2019-07-02 14:53:20 -07:00
aaron.godfrey
5ff879aa36 Some modifications to the dryer state. 2019-07-01 15:58:28 -07:00
Aaron Godfrey
82dbf607c1 Removed length for BitValue namedtuples. 2019-06-30 22:32:48 -07:00
Aaron Godfrey
556943cbfb Adds additional types returned when monitoring an LG dryer. 2019-06-30 17:08:50 -07:00
Adrian Sampson
22cde97fab Reorgnize package into 3 modules
As discussed here:
https://github.com/sampsyo/wideq/pull/24#issuecomment-506997116

Closes #24.
2019-06-30 14:08:42 -04:00
Adrian Sampson
90fc21a351 Actually test something 2019-06-30 11:02:48 -04:00
aaron.godfrey
e85ba126c5 Bootstrap tests. 2019-06-28 11:31:10 -07:00