Aaron Godfrey
a019edea79
Refactored lookup_enum and lookup_reference methods to be reusable.
...
Also added a few additional washer states.
2019-07-11 11:37:29 -07:00
Aaron Godfrey
89967d0d76
Adding a washer device.
2019-07-09 14:34:58 -07:00
Adrian Sampson
c0b1db0bd4
Merge pull request #31 from icolwell/readme_note_thirdparty
...
Add note about third-party login
2019-07-08 22:40:08 -04:00
Adrian Sampson
f495bad37f
Separate paragraph for login details
2019-07-08 22:39:52 -04:00
Ian Colwell
04068e8b26
Update with new testing results.
2019-07-08 09:24:49 -04:00
Aaron Godfrey
7ac6ba4c1f
Merge pull request #29 from boralyl/feature/add-dryer-device
...
Add dryer as a supported device.
2019-07-07 19:21:18 -07:00
Aaron Godfrey
17cb182140
Return None if no reference name can be found.
2019-07-07 19:18:12 -07:00
Aaron Godfrey
eef9ed3932
Removed data directory and fixed chars in pyproject.toml
2019-07-07 13:09:34 -07:00
Adrian Sampson
06cd1f2d4f
Merge pull request #32 from icolwell/add_energy_saver_mode
...
Add Energy Saver Mode
2019-07-07 13:31:53 -04:00
Ian Colwell
093f4f92b9
Add Energy Saver Mode
2019-07-07 10:53:28 -04:00
Ian Colwell
10d3b10f74
Add note about third-party login
2019-07-07 10:48:38 -04:00
Aaron Godfrey
347fab5fcd
Added type hints.
2019-07-05 23:27:54 -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
Adrian Sampson
9896067952
Expand comment for #25
2019-07-04 10:53:06 -04:00
Adrian Sampson
3918ce69a3
Merge pull request #25 from eljojo/retries
...
Don't stop monitoring work immediately
2019-07-04 10:51:05 -04:00
José Albornoz
4eb4ba1975
Return None on monitoring when there's no code yet
2019-07-03 23:00:35 -04: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
Adrian Sampson
3411ba85e9
Merge pull request #27 from boralyl/bugfix/reference-value
...
Fixes the ReferenceValue type.
2019-07-02 18:14:54 -04: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
890ca7b055
Adds a dryer device.
2019-07-01 14:18:47 -07:00
Adrian Sampson
1e8e51c334
Merge pull request #26 from boralyl/feature/add-additional-types
...
Adds additional types returned when monitoring an LG dryer.
2019-07-01 11:40:44 -04: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
0541108855
CircleCI: Restore "sudo" to pip
2019-06-30 14:17:32 -04:00
Adrian Sampson
9e7665c07b
CircleCI: Try another way to cache pip stuff
2019-06-30 14:16:28 -04: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
cdf1a97d75
CircleCI: Cache installation of Tox
2019-06-30 11:30:22 -04:00
Adrian Sampson
92f48c2777
Badges
2019-06-30 11:25:56 -04:00
Adrian Sampson
923324e4de
CircleCI: Try caching Tox environment
2019-06-30 11:23:33 -04:00
Adrian Sampson
abb9f7ccef
CircleCI: try installing tox globally
2019-06-30 11:19:25 -04:00
Adrian Sampson
79c17d5a77
Initial CircleCI config
2019-06-30 11:18:24 -04:00
Adrian Sampson
90fc21a351
Actually test something
2019-06-30 11:02:48 -04:00
Adrian Sampson
195cb50452
Merge branch 'feature/bootstrap-tests'
2019-06-30 10:44:14 -04:00
Adrian Sampson
0b9cafc57e
Test requires are no longer relevant
2019-06-30 10:38:50 -04:00
Adrian Sampson
6bdb973afe
Tell coverage where the source is
...
Otherwise, it was trying to cover the test files...
2019-06-30 10:35:49 -04:00
Adrian Sampson
d306f592e4
tox: Separate flake8 and coverage tesenvs
2019-06-30 10:34:03 -04:00
Adrian Sampson
0c4600280f
Use built-in tox support for PEP 518
...
We don't need to manually invoke `flit`; with `isolated_build`, tox
supports non-setuptools builds out of the box.
2019-06-30 10:25:34 -04:00
Adrian Sampson
0fefd70c77
Fix environment name in Tox config
2019-06-30 10:18:16 -04:00
Adrian Sampson
91f797289b
Use built-in unittest for test execution
...
I like pytest, but I don't think it's necessary for super simple tests.
I'd like to avoid the dependency if we don't need it.
2019-06-30 10:15:51 -04:00
Adrian Sampson
567bd24015
Merge pull request #22 from boralyl/feature/package
...
Moved wideq.py into it's own module.
2019-06-29 23:31:22 -04:00
aaron.godfrey
e85ba126c5
Bootstrap tests.
2019-06-28 11:31:10 -07:00
aaron.godfrey
aa2a13bb6d
Moved wideq.py into it's own module.
2019-06-28 11:26:17 -07:00
Adrian Sampson
b176cd26ee
Nice error when device can't be found
...
Inspired by #17 .
2019-06-20 13:17:02 -04:00
Adrian Sampson
4c3eb82a50
Ignore state file
2019-06-16 15:37:21 -04:00
Adrian Sampson
fd68455910
Allow country and language arguments to from_token
...
Useful for the Home Assistant component.
v1.0.1
2019-06-16 15:36:18 -04:00