Commit Graph

39 Commits (d60fe7e7cd4a9633db8f6ae3f775d5efb66be3b7)

Author SHA1 Message Date
epenet ebdf9a8658
Use UnitOfEnergy in integrations (o-z) () 2022-12-19 10:58:37 +01:00
epenet 0184aadb09
Use UnitOfElectricPotential in integrations () 2022-12-15 13:59:21 +01:00
epenet 52d4a358a0
Use UnitOfPower in integrations [s-z] () 2022-12-12 12:20:16 +01:00
epenet 0c767bd0d3
Improve entity type hints [s] (part 1/2) () 2022-09-06 13:35:14 +02:00
epenet 595e8a327c
Add sensor setup type hints [s] ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 19:06:08 +01:00
epenet 93cba53860
Use new enums in smappee ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-18 14:56:13 +01:00
bsmappee 9c28727aa0
Remove energy entity again in Smappee local integration () 2021-12-10 08:42:33 +01:00
bsmappee d64ae20f94
add missing unit of measurement in Smappee () 2021-12-09 13:00:23 -06:00
epenet 8c1935ce0e
Use DeviceInfo in smappee ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-10-27 15:13:18 +02:00
Marc Mueller 54abd80462
Use EntityDescription - smappee () 2021-09-30 09:15:09 +02:00
Franck Nijhof afc95becd0
Fix incorrect power device class on energy sensors in Smappee () 2021-08-21 19:17:36 -07:00
bsmappee 152f799d0e
Extract smappee switch energy attributes into sensors () 2021-08-20 14:20:45 -07:00
Erik Montnemery e558b3463e
Move temperature conversions to sensor base class (6/8) ()
* Move temperature conversions to entity base class (6/8)

* Fix tests
2021-08-12 17:40:55 +02:00
Marc Mueller 0815eede4b
Replace lists with tuples (2) () 2021-07-30 01:20:03 +02:00
Marc Mueller 074d762664
Rename and reorganize electric unit constants () 2021-07-20 20:06:23 +02:00
Daniel Hjelseth Høyer fbad453c89
Pylint 2.9.3 ()
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-07-14 21:44:57 -07:00
bsmappee 8b08134850
Support local Smappee Genius device ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-04-21 22:12:13 -10:00
Erik Montnemery 64bc9a8196
Migrate integrations r-s to extend SensorEntity () 2021-03-22 19:54:14 +01:00
Philip Allgaier dde6305549
Cleanup unused loggers (components N-Z + tests) () 2020-10-16 21:24:08 -05:00
Franck Nijhof 1c2ebdf307
Upgrade black to 20.8b1 () 2020-08-27 13:56:20 +02:00
bsmappee 07de9deab6
Implement local discovery of Smappee legacy devices ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-08-10 13:34:18 +02:00
bsmappee 99c815bcbd
Update Smappee integration with proper solar, voltage and reactive entities () 2020-07-08 13:45:01 -07:00
bsmappee 6b97b4f5ac
Place smappee supported configurations after device class () 2020-07-07 09:15:52 -05:00
bsmappee 5228282f69
Renew Smappee (sensors and switches) ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-06-17 13:28:28 +02:00
springstan b42a197293
Add and use ELECTRICAL_CURRENT_AMPERE, ELECTRICAL_VOLTAGE_AMPERE constants ()
* Add and use ELECTRICAL_CURRENT_AMPERE constant

* Add and use ELECTRICAL_VOLTAGE_AMPERE constant

* Rename ELECTRICAL_VOLTAGE_AMPERE to ELECTRICAL_VOLT_AMPERE

* Fix imports
2020-05-17 15:58:31 +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
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
springstan f1a0ca7cd3
Add and use percentage constant ()
* Add and use percentage constant

* Fix pylint error and broken test
2020-02-28 11:46:48 -08:00
Ville Skyttä 496bd3dddf
Add and use more unit constants ()
* Add and use speed constants

* Add and use meter based volume and area constants

* Add and use more mass unit constants

* Add and use concentration unit constants

* Add and use watts per square meter constant

* Use more time constants

* Use more data constants
2020-02-24 17:52:14 -08:00
François 85624e8031 Fix creating smappee sensors when remote is not active () 2019-12-29 17:18:23 +01:00
Franck Nijhof 445c741b30 Use literal string interpolation in integrations R-S (f-strings) () 2019-09-03 21:14:39 +02:00
Paulus Schoutsen 4de97abc3a Black 2019-07-31 12:25:30 -07:00
cgtobi 2c07bfb9e0 Remove dependencies and requirements ()
* Remove dependencies and requirements

* Revert "Remove dependencies and requirements"

This reverts commit fe7171b4cd.

* Remove dependencies and requirements

* Revert "Remove dependencies and requirements"

This reverts commit 391355ee2c.

* Remove dependencies and requirements

* Fix flake8 complaints

* Fix more flake8 complaints

* Revert non-component removals
2019-04-12 10:13:30 -07:00
Paulus Schoutsen 4b1de61110
Use relative imports inside integrations ()
* Use relative imports inside integrations

* Lint

* Fix automation tests

* Fix scene imports
2019-03-20 22:56:46 -07:00
Diogo Gomes a99d83390e Centrally define Energy Units (kWh and Wh) ()
* centralize energy units kWh and Wh

* lint
2019-03-12 18:46:41 -07:00
Diogo Gomes ed2b9e5483 Centrally define Watt ()
* centralize Watt definition

* lint
2019-03-02 11:29:59 +01:00
Fabian Affolter 127c55e0c1
Update file header ()
* Update file header

* Update file header

* Update file header

* Update file header

* Update file header

* Fix lint issues
2019-02-13 21:21:14 +01:00
Paulus Schoutsen e2d3c27e85
Embed all platforms into components ()
* Consolidate all components with platforms

* Organize tests

* Fix more tests

* Fix Verisure tests

* one final test fix

* Add change

* Fix coverage
2019-02-02 07:13:16 -08:00