epenet
bb3e0633a4
Add init return type to integrations ( #87523 )
...
Add type hints to integrations
2023-02-06 11:37:25 +01:00
epenet
a6ddac9004
Use UnitOfTemperature in integrations (i-m) ( #84307 )
2022-12-20 18:30:46 +01:00
epenet
55a5e17cf2
Use UnitOfTime in integrations (h-s) ( #84289 )
2022-12-20 13:21:14 +01:00
epenet
0dd20fb309
Use UnitOfEnergy in integrations (a-n) ( #84220 )
2022-12-19 11:06:00 +01:00
epenet
0184aadb09
Use UnitOfElectricPotential in integrations ( #84044 )
2022-12-15 13:59:21 +01:00
epenet
3edb0969de
Use UnitOfPower in integrations [h-r] ( #83815 )
2022-12-12 11:41:58 +01:00
epenet
7c3ca38eb7
Use UnitOfElectricCurrent in integrations ( #83622 )
2022-12-09 10:51:26 +01:00
epenet
a9901356c3
Add sensor setup type hints [i-l] ( #63315 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 19:11:50 +01:00
epenet
dce9d551f8
Use new SensorDeviceClass in juicenet ( #61828 )
2021-12-16 23:13:26 +01:00
b-pass
c09c8f424f
Set state class in JuiceNet component ( #57870 )
2021-10-16 14:52:30 -07:00
Erik Montnemery
2720ba2753
Move temperature conversions to sensor base class (4/8) ( #54472 )
...
* Move temperature conversions to entity base class (4/8)
* Fix litterrobot sensor
* Fix tests
2021-08-11 21:17:47 +02:00
Jesse Hills
a7c08fff81
Apply suggested changes to tidy juicenet sensor code ( #54390 )
2021-08-10 14:06:27 +02:00
Marc Mueller
f92f0bb87b
Use EntityDescription - juicenet ( #54362 )
...
* Use EntityDescription - juicenet
* Move part of icon to EntityDescription
* Remove default values
* Remove name override to use the _attr_name
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2021-08-10 14:25:22 +12:00
Marc Mueller
074d762664
Rename and reorganize electric unit constants ( #53243 )
2021-07-20 20:06:23 +02:00
Erik Montnemery
3e09787d85
Set device_class on temperature sensors F-K ( #52918 )
...
* Set device_class on temperature sensors F-K
* Fix juicenet sensor
2021-07-12 20:32:55 +02:00
Franck Nijhof
b9e6a6b3b8
Add state class to JuiceNet ( #52116 )
2021-06-23 10:43:31 -07:00
Erik Montnemery
fdf97eaca3
Migrate integrations i-m to extend SensorEntity ( #48213 )
2021-03-22 19:59:03 +01:00
Philip Allgaier
625bbe6238
Cleanup unused loggers (components A-M) ( #41600 )
2020-10-12 16:59:05 +02:00
Bram Kragten
9ecaa10e51
Adjust icons for MDI bump ( #37730 )
2020-07-14 22:17:14 +02:00
springstan
b42a197293
Add and use ELECTRICAL_CURRENT_AMPERE, ELECTRICAL_VOLTAGE_AMPERE constants ( #33990 )
...
* 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
Jesse Hills
e696c08db0
Rewrite JuiceNet for async and config flow ( #34365 )
...
* Add config flow to JuiceNet
* Fix some lint issues
* Fix imports
* Abort on reconfigure / Allow multiple accounts
Abort on bad API token
Fix strings
* Remove unused variable
* Update strings
* Remove import
* Fix import order again
* Update imports
Remove some unused parameters
* Add back ignore
* Update config_flow.py
* iSort
* Update juicenet integration to be async
* Update coverage for juicenet config flow
* Update homeassistant/components/juicenet/entity.py
Co-Authored-By: J. Nick Koston <nick@koston.org>
* Black
* Make imports relative
* Rename translations folder
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-05-08 00:52:20 -05:00
springstan
ef9d9b17bd
Drop UNIT_ prefix for constants ( #34164 )
...
* 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
04c4501455
Add and use UNIT_VOLT constant ( #33994 )
...
* Add and use UNIT_VOLT constant
* Run isort
2020-04-11 02:04:58 +02:00
springstan
157f972d72
Use f-strings in integrations starting with "H" - "L" ( #32265 )
...
* Use f-strings in integrations starting with "H"
* Use f-strings in integrations starting with "I"
* Use f-strings in integrations starting with "J"
* Use f-strings in integrations starting with "K"
* Use f-strings in integrations starting with "L"
* Fix lint error
* Use join instead of f-string in homekit_controller
* Use local variables with f-strings
* Fix lint error
* Escape the characters in f-string
* Sort imports with isort in homeworks light
* Fix pylint error
* Fix broken tests
* Fix broken tests v2
2020-02-28 12:39:29 +01:00
springstan
a85808e325
Add and use time related constants ( #32065 )
...
* Add and use time related constants
* Sort time constants and reuse them in data rate constants
* Fix greeneyemonitor import
* Fix greeneyemonitor import V2
* Fix failing here_travel_time test
* Add TIME_MONTHS and TIME_YEARS
* Use TIME_MINUTES in opentherm_gw and isy994
* Add and use TIME_MILLISECONDS
* Change inconsistent ones
* Add TIME_MICROSECONDS and TIME_WEEKS
* Use constants in apcupsd and travisci
* Fix import error in upnp sensor.py
* Fix isy994 sensor.py using TIME_YEARS
* Fix dyson tests
* Use TIME_SECONDS in more places
* Use TIME_DAYS in google wifi
2020-02-23 22:09:24 +02:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
cgtobi
2c07bfb9e0
Remove dependencies and requirements ( #23024 )
...
* 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 ( #22235 )
...
* 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) ( #21719 )
...
* centralize energy units kWh and Wh
* lint
2019-03-12 18:46:41 -07:00
Diogo Gomes
ed2b9e5483
Centrally define Watt ( #21570 )
...
* centralize Watt definition
* lint
2019-03-02 11:29:59 +01:00
Fabian Affolter
161c368c9d
Update file header ( #21054 )
...
* Update file header
* Update __init__.py
2019-02-13 20:35:12 -08:00
Paulus Schoutsen
e2d3c27e85
Embed all platforms into components ( #20677 )
...
* 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