Commit graph

59 commits

Author SHA1 Message Date
G Johansson
93aade6e8e
Change lock state to an enum (#126379)
* Add new LockState enum for lock states

* Add rest

* Fix insteon tests

* Fix mqtt tests

* Fix tesla_fleet

* Revert back ST_STATE_LOCKED

* Add back constant
2024-09-24 12:30:50 +02:00
Christian Neumeier
3e53cc175f
Change POWER_VOLT_AMPERE_REACTIVE to UnitOfReactivePower (#117153)
* Refactoring: exchange POWER_VOLT_AMPERE_REACTIVE with UnitOfReactivePower

* updated iotawatt and mysensors from VOLT_AMPERE_REACTIVE to UnitOfReactivePower.VOLT_AMPERE_REACTIVE

* deprecation period for POWER_VOLT_AMPERE_REACTIVE changed to one year.

* POWER_VOLT_AMPERE_REACTIVE changed to UnitOfReactivePower in blebox integration

* Update homeassistant/const.py

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-08-21 15:36:45 +02:00
Sid
69564b1a17
Add ruff rule PIE800 (#113619)
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-16 16:31:30 -10:00
Sid
ccd2e989c3
Enable ruff RUF005 and fix occurrences (#113589) 2024-03-16 07:37:20 -10:00
Marc Mueller
2c06d4fcb9
Add empty line after module docstring (2) [components] (#112736) 2024-03-08 19:15:59 +01:00
shbatm
4e05205174
Add updated ISY994/IoX Units of Measurement (#95408) 2023-06-27 16:17:36 -05:00
shbatm
04cfd7b41d
Use built-in percentage unit for ISY994 relative humidity (#90863) 2023-04-05 07:50:06 -10:00
shbatm
096f6eb554
Bump PyISY to 3.1.13, check portal for network buttons (#87650) 2023-02-07 13:03:27 -06:00
shbatm
439232223a
Support ISY994 Z-Wave motorized blinds as cover (#87102) 2023-02-02 14:27:30 -05:00
shbatm
3aad153913
Add enable/disable config switch for ISY994 devices (#85975)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-01-16 09:33:55 -10:00
shbatm
a81045653d
Add Insteon ramp rate select entities to ISY994 (#85895)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-01-14 17:37:07 -10:00
shbatm
1fcd25130f
Add On Level number entities to ISY994 Insteon Devices (#85798)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-01-13 16:01:41 -10:00
shbatm
28bea53afe
Move ISY994 data to dataclass and remove bad entities (#85744) 2023-01-12 13:09:04 -10:00
shbatm
255a8362a1
Consolidate device info and clean-up ISY994 code base (#85657)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-01-11 18:07:44 -10:00
shbatm
d3249432c9
Add ISY994 variables as number entities (#85511)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-01-10 12:29:11 -10:00
shbatm
a8cdb86b23
Add network resource button entities to ISY994 and bump PyISY to 3.0.12 (#85429)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-01-08 16:45:54 -10:00
shbatm
cf3ca816a8
Add query button entities to ISY994 devices and hub (#85337) 2023-01-06 15:15:02 -10:00
shbatm
b5d5a720dc
Add additional device classes and units to ISY994 aux sensors (#85274)
fixes undefined
2023-01-05 15:31:45 -10:00
shbatm
240e1fd8f3
Update ISY994 integration to be model agnostic (#85017) 2023-01-02 14:22:40 -10:00
epenet
2f45e6c2ae
Use UnitOfVolumeFlowRate in integrations (#84348) 2022-12-21 11:00:24 +01:00
epenet
f5334c5aed
Use new unit enums in isy994 (#83583) 2022-12-08 20:54:16 +01:00
epenet
7838bb3ebe
Replace new PRECIPITATION_INTENSITY with enum (#80653) 2022-10-25 16:45:45 +02:00
epenet
62b0735822
Adjust precipitation units in components (#79783)
* Adjust precipitation units in components

* Don't update darksky
2022-10-19 15:09:05 +02:00
epenet
5743e9f83d
Use REVOLUTIONS_PER_MINUTE constant in isy994 (#79989) 2022-10-11 17:51:42 +02:00
epenet
ec532414ba
Import climate constants from root [a-l] (#78177) 2022-09-10 23:39:52 +02:00
J. Nick Koston
8d40d9df85
Create ISY auxiliary sensors as sensor entities instead of attributes (#71254) 2022-05-03 09:49:52 -07:00
epenet
d288c569fa
Use climate enums in isy994 (#70678) 2022-04-25 18:28:56 -10:00
J. Nick Koston
6c38a6b569
Enable strict typing for isy994 (#65439)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-03 17:02:05 +01:00
epenet
f72b2e71ee
Use new BinarySensorDeviceClass in isy994 (#61825) 2021-12-15 19:11:46 -06:00
Marc Mueller
40b99135e5
Use platform enum (3) [H-L] (#60937)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2021-12-05 17:10:07 -10:00
J. Nick Koston
0830100df1
Do not reload the isy994 on ip change since there is already a reload listener (#54602) 2021-09-17 21:22:14 -10:00
J. Nick Koston
4df928c188
Add support for updating the ISY ip address from discovery (#53290)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-22 08:38:55 +02:00
Marc Mueller
074d762664
Rename and reorganize electric unit constants (#53243) 2021-07-20 20:06:23 +02:00
Marc Mueller
c578541a82
Add new electrical unit constants (mV + mA) (#53158) 2021-07-20 15:57:11 +02:00
Marc Mueller
c35b5a1c64
Add sound pressure unit constants (dB + dBa) (#53159) 2021-07-19 06:54:38 -07:00
shbatm
775af9d2c5
Update PyISY to v3.0.0 and ISY994 to use Async IO (#50806) 2021-05-18 14:15:47 -05:00
Quentame
198ecb0945
Uniformize platform setup (#47101)
* A platform is not a component

* Fix dynalite

* SUPPORTED_PLATFORMS --> PLATFORMS

* In tests

* In tests 2

* Fix SmartThings

* Fix ZHA test

* Fix Z-Wave

* Revert Z-Wave

* Use PLATFORMS const in ambient_station

* Fix ihc comment
2021-03-02 21:43:59 +01:00
springstan
30b94892c4
Use strings instead of f-strings for constants (#40619) 2020-11-09 10:09:53 +01:00
shbatm
121872c546
Fix dimming for ISY994 Z-Wave devices using percent instead of 8-bit brightness values (#42915) 2020-11-06 10:07:37 -10:00
shbatm
c4821bfa74
Improve ISY994 NodeServer sorting and format sensor display values (#42050) 2020-10-18 13:33:45 -05:00
springstan
6c8e0e20fb
Add and use light lux constant in entire code base (#40171) 2020-09-23 20:48:01 +02:00
springstan
06a133c3e9
Add and use length millimeters constant (#40116)
* Add and use length millimeters constant

* Fix pylint error

* Fix broken accuweather sensor test
2020-09-22 21:09:17 -05:00
springstan
b088830382
Add and use currency cent constant (#40261) 2020-09-19 10:34:54 -05:00
springstan
e330468a13
Use pressure constants in code base (#40262) 2020-09-19 09:26:08 +02:00
springstan
000d2047fb
Add and use currency constants (#40113) 2020-09-15 15:01:01 -06:00
springstan
90f5b178ef
Use AREA_SQUARE_METERS constant in all integrations (#40107) 2020-09-15 15:00:26 -06:00
springstan
5a12056e59
Add and use volume cubic constants (#40106) 2020-09-15 19:59:26 +02:00
springstan
d2b1918e9c
Drop UNIT_ prefix for percentage constant (#39383) 2020-09-05 21:09:14 +02:00
springstan
9311b02369
Use LENGTH_FEET constant (#34053) 2020-06-10 21:38:29 +02:00
shbatm
9e7f516d07
Add Z-Wave Notification Sensor support to ISY994 (#36548) 2020-06-07 20:00:53 -05:00