irsl
d7ed9855b9
Thermostat: get the 1st decimal place ( #772 )
2024-04-09 16:06:38 -03:00
fustom
abcc9aaeed
Add heating_cooling state to Hysen ( #722 )
2023-01-22 01:50:37 -03:00
Felipe Martins Diel
26ee3192d9
Change the type and model of the hysen class ( #627 )
2021-10-17 13:25:00 -03:00
Felipe Martins Diel
6a54803a36
Improve code quality ( #585 )
...
* Improve docstrings
* Fix line-too-long
* Disable unidiomatic-typecheck
* Move smart plugs to the top
* Use constants from const.py
* Run black
2021-04-29 19:51:22 -03:00
Felipe Martins Diel
12fdf01631
Improve code quality ( #572 )
...
* Improve typing
* Use better names
* Clean up switch.py
* Remove unused import
* Run black
* Remove unnecessary comments
* Clean up climate.py
2021-04-26 17:57:02 -03:00
Felipe Martins Diel
b77e803864
Use CamelCase for the Device class ( #570 )
2021-04-26 17:57:02 -03:00
Felipe Martins Diel
4e1e690762
Encapsulate crc16() to avoid global ( #566 )
2021-04-26 17:57:02 -03:00
Felipe Martins Diel
86b5d0727c
Improve CRC-16 function ( #565 )
...
* Rename calculate_crc16 to crc16
* Apply PEP-8 naming conventions
* Remove unnecessary import
* Accept any sequence type
* Remove unnecessary conversions
* Expose polynomial and initial value as kwargs
* Remove unnecessary bitwise operations
* Store the CRC-16 table for performance
* Add missing type hints
* Update docstring
* General improvements
2021-04-26 17:57:02 -03:00
Felipe Martins Diel
1a8ee21a34
Make better use of namespaces ( #564 )
...
Use namespaces for typing and exceptions.
2021-04-26 17:57:02 -03:00
Felipe Martins Diel
e12fd6f115
Make the type a class attribute ( #530 )
2021-01-29 18:22:58 -03:00
Kendell R
dfd3372c36
Add GH Actions ( #470 )
...
Add GitHub actions and run black.
2021-01-29 18:17:45 -03:00
Felipe Martins Diel
0dc0068d63
Improve code quality ( #428 )
...
* Fix lint errors
* Remove rm2 class
* Rename cs to conn
* Add __repr__ to device class
* Make get_devices() a dictionary
* Clean up alarm kit
* Add module doscstrings
* Fix MAC address conversion
2020-09-24 07:36:12 +02:00
Felipe Martins Diel
5ef4124491
Remove legacy byte conversions
2020-09-20 17:11:14 -07:00
Felipe Martins Diel
487a13d895
Improve annotations
2020-09-20 02:10:18 -07:00
Felipe Martins Diel
08c020e597
Call Mr. Krueger
2020-09-20 02:10:18 -07:00