Commit Graph

178 Commits (4e376181f5efa4bc15446897dd0510122252fede)

Author SHA1 Message Date
Daniel Perna 150bb65cad
Fix tilt-position for HmIPW-DRBL4 (#64208) 2022-01-21 21:43:40 +01:00
Daniel Perna f4f1ea4068
Update pyhomematic to 0.1.77 (#63848)
* Update pyhomematic to 0.1.77

* Add HmIP-STE2

* Add HmIPW-SPI
2022-01-11 16:45:33 +01:00
epenet fee95e129a
Add setup type hints [h] (#63438)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-05 12:13:11 +01:00
epenet f39531dcfc
Add switch setup type hints [g-m] (#63303)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 19:23:11 +01:00
epenet 30a64bd0f2
Add sensor setup type hints [g-h] (#63316)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 19:13:59 +01:00
epenet eed7ce55b3
Add lock setup type hints (#63296)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 15:45:15 +01:00
epenet 7f9b7c7b0e
Add light setup type hints [a-i] (#63291)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 15:02:21 +01:00
epenet 06ebbb7cae
Add climate setup type hints [a-l] (#63278)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 13:26:32 +01:00
epenet 1650332188
Add init type hints [h-j] (#63187)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 16:31:48 +01:00
epenet f724aea0bb
Ensure service calls are typed [a-j] (#63013)
* Ensure service calls are typed [a-j]

* Adjust apns

* Adjust arlo

Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-30 18:50:51 +01:00
epenet b7c0b21c6c
Use new enums in homematic (#61765)
Co-authored-by: Pascal Vizeli <pascal.vizeli@syshack.ch>
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-14 10:53:47 +01:00
Daniel Perna 9197512ed1
Fix Sensors for HmIP-DLD (#59804) 2021-11-21 12:09:55 +01:00
chriss158 5151c4d99b
Add long-term statistics support for homematic sensors (#57396)
* Add long-term statistics support for homematic

* Refactor cast list to SensorEntityDescription dict

Additional:
- Gas power, gas energy counter, air pressure and voltage uses long-term-statistics
- Gas power, gas energy counter uses device class gas
- Voltage uses device class voltage
- air pressure uses device class pressure

* Refactor expensive loop to separate dictionarys

* Use entity description property + fix humidity sensor

* Log missing sensor descriptions

* Use state class measurement for illumination sensors

* Move sensor entity desc missing warning to setup_platform

* Set type for hmdevice and homematic to fix mypy error

* Use EntityDescription instead of SensorEntityDescription

* Update entity.py

* fix type

* Update climate.py

* fix v2

Co-authored-by: Pascal Vizeli <pascal.vizeli@syshack.ch>
2021-11-08 11:40:01 +01:00
emufan 388cdf4e94
Add classes for new Homematic devicetypes/devices (HmIP-SMI, HmIP-DRSI1) (#57521)
* Update const.py

Add new classes according to pyhomatic 0.1.75

* Update binary_sensor.py
2021-11-01 19:13:30 +01:00
Marc Mueller be201e3ebe
Use assignment expressions 27 (#58188) 2021-10-22 11:29:21 +02:00
Daniel Perna acb24788d0
Update pyhomematic to 0.1.76 (#58136) 2021-10-21 08:21:48 +02:00
Daniel Perna 0d91167cdd
Update pyhomematic to 0.1.75 (#56995) 2021-10-03 19:37:38 +02:00
Bram Kragten 86d24bec75
Update icons for MDI 6 (#56170) 2021-09-13 19:29:38 +02:00
Daniel Perna 675441142d
Update pyhomematic to 0.1.74 (#54613) 2021-08-15 12:50:40 +02:00
Erik Montnemery 6de6a5dc14
Move temperature conversions to sensor base class (3/8) (#54469)
* Move temperature conversions to entity base class (3/8)

* Fix FritzBox sensor

* Fix tests
2021-08-12 14:23:56 +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
Jan 333f199bd4
Additional units for HM-ES-TX-WM with ES-IEC (#50713)
The Homematic HM-ES-TX-WM with ES-IEC adapter needs additional unit cast for `IEC_POWER` and `IEC_ENERGY_COUNTER`.
2021-06-15 12:13:03 +02:00
Daniel Perna dc9b031544
Update pyhomematic to 0.1.73 (#51551) 2021-06-07 10:04:03 +02:00
Franck Nijhof fcdd8b11a6
Collection of changing entity properties to class attributes - 2 (#51345) 2021-06-01 12:43:55 -07:00
Franck Nijhof 258b388f41
Collection of changing entity properties to class attributes (#51248)
* Collection of changing entity properties to class attributes

* Apply suggestions from code review

Co-authored-by: Erik Montnemery <erik@montnemery.com>

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-05-31 10:50:11 +02:00
tkdrob 028a07d86f
Wrap up selectors (#50794)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-25 14:45:17 +02:00
tkdrob 4ce3038b29
Add targets and selectors for services (G-H) (#50524)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-12 20:49:04 +02:00
dfigus d517d7232f
Fix HmIP-HAP attributes unit (#49476) 2021-04-20 22:06:00 +02:00
Franck Nijhof 055cdc64c0
Add support for IoT class in manifest (#46935) 2021-04-15 10:21:38 +02:00
Daniel Sack c732749640
Update __init__.py (#48659)
This change solves that HMIP-RCV-1 is not found when used in a service call to invoke a virtual key (case-sensitivity problem).
- https://community.home-assistant.io/t/homematic-hmip-rcv-50-not-working-with-virtual-key-any-more/249000
- https://github.com/danielperna84/pyhomematic/issues/368
2021-04-07 15:51:35 +02:00
Erik Montnemery 339a56e434
Migrate integrations f-h to extend SensorEntity (#48212) 2021-03-22 19:45:17 +01:00
Erik Montnemery 346a724ac3
Mark base components' state_attribute @final, rename others to extra_state_attributes (#48161)
* Mark base state_attributes @final, rename others to extra_state_attributes

* Fix calendar, update tests
2021-03-21 10:38:24 +01:00
Michael Cicogna b1626f0091
Fix Homematic transition function on light devices with multiple channels (#45725)
* Update light.py

Fix Transition function on devices with multiple channels

* Update light.py

fix Flake8 Warning W293 blank line contains whitespace
2021-03-19 12:36:03 +01:00
Daniel Perna d32c364d7f
Update pyhomematic to 0.1.72 (#47906) 2021-03-14 18:52:47 +01:00
Erik Montnemery 14a59d290a
Update integrations j-o to override extra_state_attributes() (#47758) 2021-03-11 20:11:25 +01:00
Florian Heilmann 47938a1355
hm climate: Return PRESET_NONE instead of None (#47003)
Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
2021-02-25 09:49:52 +01:00
tkdrob da67cde369
Use core constants for homematic (#46248) 2021-02-09 12:02:53 +01:00
Daniel Perna e2e79aba4e
Update pyhomematic to 0.1.71 (#44732) 2021-01-01 17:20:55 +01:00
springstan a967f689c7
Remove unnecessary instances of dict.keys() (#42518) 2020-10-28 20:43:48 +01:00
J. Nick Koston 1e256e6122
Remove unneeded async_add_job from homematic (#41855) 2020-10-16 09:24:12 -05:00
Philip Allgaier 625bbe6238
Cleanup unused loggers (components A-M) (#41600) 2020-10-12 16:59:05 +02:00
Steffen Rusitschka b5f4b58832
Add rx mode to homematic.put_paramset service (#40065) 2020-10-10 20:42:19 +02:00
springstan 916178925e
Return attribute dict directly without temporary variable v3 (#41502) 2020-10-08 21:33:08 +02:00
springstan 038c05d0ee
Return attribute dict directly without temporary variable (#41206) 2020-10-05 12:51:48 +02:00
Daniel Perna 8e4b10fb13
Update pyhomematic to 0.1.70 (#41108) 2020-10-03 14:15:11 +02:00
Daniel Perna 187fec9a0c
Update pyhomematic to 0.1.69 (#41010) 2020-10-02 09:06:05 +02: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 e330468a13
Use pressure constants in code base (#40262) 2020-09-19 09:26:08 +02:00