Commit Graph

91 Commits (6da83b90f7a993f584faeb1af8fc7164320bbea4)

Author SHA1 Message Date
Erik Montnemery 2720ba2753
Move temperature conversions to sensor base class (4/8) ()
* Move temperature conversions to entity base class (4/8)

* Fix litterrobot sensor

* Fix tests
2021-08-11 21:17:47 +02:00
Marc Mueller 0815eede4b
Replace lists with tuples (2) () 2021-07-30 01:20:03 +02:00
Milan Meulemans b51c666817
Replace ServiceCallType with ServiceCall in lcn services () 2021-07-27 14:16:01 +02:00
Milan Meulemans 0471b27179
Replace HomeAssistantType with HomeAssistant () 2021-07-27 12:30:56 +02:00
Marc Mueller 074d762664
Rename and reorganize electric unit constants () 2021-07-20 20:06:23 +02:00
Marc Mueller a56485a8c5
Revert new unit types () 2021-07-20 14:13:51 +02:00
Marc Mueller 71a8ae3016
Add new unit types for better type checking ()
* Add new unit types
* Update helper functions
* Update components
* Update lcn climate
2021-07-18 14:43:47 +02:00
Andre Lengwenus 49d109a969
Bump pypck to 0.7.10 () 2021-07-14 19:59:11 +02:00
Andre Lengwenus abca7deadb
Hint for str type instead of explicitly casting to str () 2021-07-08 10:42:27 +02:00
Andre Lengwenus e16ef10af5
Add type hints to LCN ()
* Add type hints to LCN

* Fix requested review changes
2021-07-06 09:54:35 +02:00
tkdrob 028a07d86f
Wrap up selectors ()
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-25 14:45:17 +02:00
Andre Lengwenus c868353459
Code cleanup in LCN () 2021-05-25 14:17:36 +02:00
Andre Lengwenus a92acdb528
Fix selectors and defaults in LCN service.yaml () 2021-05-16 08:06:28 +02:00
tkdrob a9660d5788
Add targets and selectors for services (L-M) () 2021-05-15 11:06:34 +02:00
Franck Nijhof 10d6dfd4ae
Clean up connection classes in integrations H-L () 2021-04-30 21:02:53 -10:00
Franck Nijhof e1a3ef3d69
Clean up config entry handlers decorator from config flows () 2021-04-30 23:28:25 +02:00
J. Nick Koston b10534359b
Reduce config entry setup/unload boilerplate K-M () 2021-04-27 18:49:13 +02:00
Franck Nijhof 055cdc64c0
Add support for IoT class in manifest () 2021-04-15 10:21:38 +02:00
Erik Montnemery fdf97eaca3
Migrate integrations i-m to extend SensorEntity () 2021-03-22 19:59:03 +01:00
Andre Lengwenus 50b7b1cc7a
Migrate LCN configuration to ConfigEntry (Part 1) () 2021-03-15 13:45:13 +01:00
Ville Skyttä dc880118a4
Lint suppression cleanups ()
* Unused pylint suppression cleanups

* Remove outdated pylint bug references

* Add flake8-noqa config and note to run it every now and then

* Add codes to noqa's

* Unused noqa cleanups
2021-03-02 09:02:04 +01:00
tkdrob 56adc9dadb
Use core constants for lcn () 2021-02-10 21:22:32 -05:00
Andre Lengwenus 21b9b6b2c8
Bump pypck to 0.7.9 () 2021-01-17 15:56:21 +01:00
Franck Nijhof 92431049e5
Revert "Revert "Bump pypck to 0.7.8"" ()
This reverts commit 6de8824980.
2021-01-06 18:01:06 +01:00
Franck Nijhof 6de8824980
Revert "Bump pypck to 0.7.8" ()
This reverts commit addafd517f.
2021-01-06 16:47:02 +01:00
Andre Lengwenus addafd517f
Bump pypck to 0.7.8 () 2021-01-05 10:01:34 +01:00
Andre Lengwenus fec623fb4e
Fix LCN service calls (invoking coroutines) ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-12-07 13:13:41 +01:00
Andre Lengwenus 378424b2c4
Refactor LCN integration ()
* Moved configuration schemes to schemes.py

* Renamed LcnDevice to LcnEntity. Renamed address_connection to device_connection.

* Rename schemes.py to schemas.py
2020-12-05 12:57:49 +01:00
Andre Lengwenus 93055884b7
Bump pypck to 0.7.7 () 2020-12-02 10:49:50 +01:00
Andre Lengwenus 9ace7269ae
Fix wrong temperature setting in LCN climate () 2020-12-01 18:45:08 +01:00
Andre Lengwenus 493eaef616
Bump pypck to v0.7.6 ()
* Bump pypck to v0.7.6

* Await commands to ensure that they are received.
2020-11-29 16:30:17 +01:00
springstan a7bd521768
Remove temporary variable from supported_features ()
* Remove temporary variable from supported_features

* Revert removing temp variable for supported features hunterdouglas
2020-11-09 13:19:29 +01:00
Andre Lengwenus 99e2d13668
Fix parameter issue in LCN cover close/stop () 2020-10-25 13:44:39 +01:00
Andre Lengwenus 22db1a509d
Bump pypck to v0.7.4 () 2020-10-22 15:00:37 +02:00
Matthias Alphart 93a9a11065
Add config validator helper positive_float () 2020-10-11 22:04:49 +02:00
Andre Lengwenus e5e6dda04f
Bump pypck to v0.7.2 () 2020-09-28 18:51:38 +02:00
springstan d2b1918e9c
Drop UNIT_ prefix for percentage constant () 2020-09-05 21:09:14 +02:00
Franck Nijhof 53545c984b
Log lines do not end with a full stop () 2020-07-05 23:04:19 +02:00
Andre Lengwenus 4a65bed0eb
Fix LCN cover behavior when using output ports ()
* Fixed LCN cover behavior when connected to output ports

* Cover is assumed to be in an open state unless it is fully closed.
2020-06-24 15:10:56 +02:00
Andre Lengwenus a7842b6301
Fix of LCN cover behavior () 2020-05-27 23:08:51 +02:00
Erik Montnemery 066e921a8b
Rename SwitchDevice to SwitchEntity () 2020-04-26 18:50:37 +02:00
Erik Montnemery e4333a7a44
Rename Light to LightEntity () 2020-04-26 18:49:41 +02:00
Erik Montnemery 8c5c963b96
Rename CoverDevice to CoverEntity () 2020-04-25 18:07:15 +02:00
Erik Montnemery 29bc93ea98
Rename ClimateDevice to ClimateEntity () 2020-04-25 18:04:03 +02:00
Erik Montnemery b022e08db9
Rename BinarySensorDevice to BinarySensorEntity ()
* Rename BinarySensorDevice to BinarySensorEntity

* Tweak

* Move deprecation warning to __new__, add test

* Move deprecation warning back to __init__

* Move deprecation warning to __init_subclass
2020-04-23 21:57:07 +02:00
springstan ef9d9b17bd
Drop UNIT_ prefix for constants ()
* Drop UNIT_ prefix for VOLT

* Drop UNIT_ prefix for DEGREE

* Drop UNIT_ prefix for CONDUCTIVITY

* Drop UNIT_ prefix for UV_INDEX

* Run isort
2020-04-21 19:45:53 +02:00
Franck Nijhof 782d2d0b75
Revert incorrect sync/async conversion in LCN integration () 2020-04-21 12:36:23 +02:00
Franck Nijhof bc5a2da7b7
Add transition support to scenes, cleanup blocking parameter () 2020-04-20 18:07:50 -07:00
springstan b893150154
Add and use UNIT_DEGREE constant ()
* Add and use UNIT_DEGREE constant

* Replace more occurrences

* Add and use TEMP_KELVIN

* Run isort
2020-04-11 16:54:11 +02:00
springstan 04c4501455
Add and use UNIT_VOLT constant ()
* Add and use UNIT_VOLT constant

* Run isort
2020-04-11 02:04:58 +02:00