Michael Wei
09085bd4dc
fix CI error: flake8
2021-04-27 21:44:30 -07:00
Michael Wei
d205057472
Merge pull request #1 from marciogranzotto/thinq2
...
Add fallback to v1 API & Fix some tests
2021-04-24 01:01:10 -07:00
Marcio Granzotto
4e8c950faf
Add missing exception
2021-04-18 15:54:47 -03:00
Marcio Granzotto
6844cf871b
Change version number to 2.0.0
2021-04-18 14:12:03 -03:00
Marcio Granzotto Rodrigues
8236f052ca
Update wideq/core.py
2021-03-22 16:18:03 -03:00
Marcio Granzotto Rodrigues
235fb0f231
Update wideq/core.py
2021-03-22 16:17:59 -03:00
Marcio Granzotto
6197fa42d1
Add fallback to v1 API
2021-03-22 16:08:01 -03:00
Michael Wei
6e38538d65
missing language functions
2021-01-03 04:16:49 +00:00
Michael Wei
0e5db00f05
print platform type in listing
2020-12-02 18:30:38 +00:00
Michael Wei
8617831453
Initial thinq2 support, works with LA090HSV5 ac
2020-11-30 21:15:41 +00:00
Adrian Sampson
267a880340
Merge branch 'format'
2020-11-28 17:06:15 -05:00
Adrian Sampson
8319b2ef97
Run Black on example.py
2020-11-28 17:05:17 -05:00
Adrian Sampson
6c2232a7db
pre-commit is not a dependency
2020-11-28 17:02:08 -05:00
Adrian Sampson
717391dae8
Reorg links
2020-11-28 17:01:22 -05:00
Adrian Sampson
4612ca07d6
Expand Black discussion in README
2020-11-28 17:01:05 -05:00
Adrian Sampson
b4ccbb734a
Merge pull request #136 from gholliday/instantpowerfix
...
Don't crash when instant power isn't supported by unit
2020-11-28 06:05:26 -05:00
Grant Holliday
11c4609f82
style fixups2
2020-11-28 17:20:10 +11:00
Grant Holliday
cc4255f39f
style fixups
2020-11-28 17:18:23 +11:00
Grant Holliday
b42985fc48
Don't crash when instant power isn't supported by unit
2020-11-28 17:10:04 +11:00
Michael Wei
fb3c755c2e
introduce black formatter
2020-11-21 19:46:57 +00:00
Adrian Sampson
4d624159df
Merge pull request #133 from krystof-k/name-always-string
...
Ensure name is always string
2020-11-21 13:12:26 -05:00
Kryštof Korb
6e4f9d6484
Ensure name is always string
2020-11-21 11:04:20 +01:00
Adrian Sampson
ec0da0d4c2
Merge pull request #130 from pifou25/deviceDict
...
add a mapping for every subclass of Device with DeviceType enum as key
2020-10-28 18:42:32 -04:00
pifou
b675a8782a
indentation fix in client.py
2020-10-28 22:58:55 +01:00
pifou
d6a8a95d01
rollback for util import into client.py
2020-10-28 22:56:36 +01:00
pifou
4ac98be936
fix latest discussion lower-level
2020-10-28 22:53:53 +01:00
Nicolas
bf77fd0f7c
Update wideq/client.py
...
Co-authored-by: Adrian Sampson <adrian@radbox.org>
2020-10-28 22:49:54 +01:00
pifou
649299eacf
remove ac-mon command from example.py
...
remove ac-mon command, use only 'mon' command as generic command for any device
2020-10-28 22:33:42 +01:00
pifou
db6c6f631b
Update client.py
2020-10-27 23:15:48 +01:00
pifou
4afd5685cb
fix tox warnings and errors
2020-10-27 23:09:44 +01:00
pifou
763b6e5005
refactoring
...
move mapping declaration into util.py with local import into the the module-level function device_classes
add client.get_device_class
adapt example.py with AC monitoring
2020-10-27 20:34:32 +01:00
pifou
70f0a32ed2
Update client.py
2020-10-26 23:40:15 +01:00
pifou
1bcf1bd1f1
Update client.py
2020-10-26 23:35:33 +01:00
pifou
743622dea0
Update client.py
2020-10-26 23:28:57 +01:00
pifou
696f65e122
Update client.py
2020-10-26 23:26:32 +01:00
pifou
4fda55aba0
fix mypy errors
2020-10-26 23:19:52 +01:00
pifou
709e1de9c9
add a mapping for every subclass of Device with DeviceType enum as key
...
This make it easy to get the relevant subclasse of Device according to the DeviceType of the model info
2020-10-26 23:09:04 +01:00
Adrian Sampson
d14f1f96d8
Tweaks for #126 ( fixes #64 )
2020-10-14 07:47:47 -04:00
Adrian Sampson
45816884b9
Merge pull request #126 from pifou25/FixJsonError
...
try and catch JSONDecodeError
2020-10-14 07:44:00 -04:00
pifou
c6f822bffe
fix flake8 criteria
2020-10-13 23:08:39 +02:00
pifou
810a3ce747
try auto fix json encoding error
2020-10-13 22:56:27 +02:00
pifou
5e47dd0bb2
try and catch JSONDecodeError
...
this is related to bug https://github.com/sampsyo/wideq/issues/64
2020-10-12 23:06:22 +02:00
Adrian Sampson
d7440be7a0
Merge pull request #123 from pifou25/FixApiError9003
...
Fix api error9003
2020-10-04 16:58:21 -04:00
pifou25
d78d5fbf3b
Delete example.php
2020-10-04 21:22:47 +02:00
pifou
8d918fad0f
Create example.php
2020-10-04 14:57:35 +02:00
pifou
da8b3453fa
Update core.py
2020-10-03 10:42:57 +02:00
Adrian Sampson
ade3d18f30
Merge pull request #121 from no2chem/patch-1
...
Update README.md to reflect v2 incompatibility
2020-09-30 08:54:43 -04:00
Michael Wei
0927ffb16d
Add link to PR discussion
2020-09-29 10:36:22 -07:00
Michael Wei
ccc0c06147
Update README.md to reflect v2 incompatibility
...
Hi @sampsyo!
Thanks for the work on the SmartThinq API. The library doesn't seem to currently work on the v2 API, and until it does, I suggest this small change to the readme so that people aren't creating issues or are confused as to why it doesn't work for them. I was confused for a little bit until I went through the issue tracker to figure out why I wasn't getting any devices.
Of course, happy to help get v2 on track.
2020-09-28 11:50:20 -07:00
Adrian Sampson
7fed7cd9a4
Version bump: v1.5.0
v1.5.0
2020-08-07 07:26:37 -04:00