Franck Nijhof
13db867c1d
Move attribution attribute to Entity base class ( #57492 )
2021-10-11 23:15:32 +02:00
Paulus Schoutsen
ee2c950716
Merge system options into pref properties ( #51347 )
...
* Make system options future proof
* Update tests
* Add types
2021-06-01 22:34:31 +02:00
Ville Skyttä
19d25cd901
Change config entry state to an enum ( #49654 )
...
* Change config entry state to an enum
* Allow but deprecate EntryState str equality comparison
* Test fixes
* Rename to ConfigEntryState
* Remove str comparability backcompat
* Update new occurrences of strs cropped up during review
2021-05-20 19:19:20 +02:00
Franck Nijhof
c68b259bd3
Cleanup of unused connection_class logic ( #49865 )
...
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2021-04-29 23:12:58 +02:00
J. Nick Koston
a1fdf84dba
Reduce config entry setup/unload boilerplate G-J ( #49737 )
2021-04-27 16:09:59 +02:00
Ville Skyttä
153d6e891e
Use config_entries.SOURCE_* constants ( #49631 )
2021-04-25 11:27:40 +02:00
jan iversen
017e32a0cb
Integrations h*: Rename HomeAssistantType to HomeAssistant. ( #49590 )
2021-04-23 09:49:02 +02:00
Erik Montnemery
87e7cebd36
Update tests c-h to use registry async_get ( #47652 )
2021-03-09 14:31:17 +01:00
Ville Skyttä
dc880118a4
Lint suppression cleanups ( #47248 )
...
* 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
SukramJ
104107dd95
Bump dependency for HomematicIP Cloud to 0.13.1 ( #45475 )
2021-01-25 13:19:11 +01:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
Ville Skyttä
1c8fbc7e6a
Upgrade codespell to 2.0.0 ( #44695 )
...
* Upgrade codespell to 2.0.0
* Fix newly found spelling errors
2020-12-31 19:14:07 +01:00
SukramJ
34a31884b7
Bump dependency to add more multi channel devices to HomematicIP Cloud ( #43914 )
2020-12-08 00:16:22 +01:00
SukramJ
40408eb0eb
Add HmIP-HDM1 and HmIPW-DRD3 to Homematic IP Cloud ( #43132 )
...
* cleanup const.py
* Add wired multi dimmer HMIPW-DRD3 to Homematic IP Cloud
* Add HmIP-HDM1 to Homematic IP Cloud
2020-12-02 23:56:05 -06:00
SukramJ
d7e5d1bfaf
Bump dependency for HomematicIP Cloud ( #43018 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-11-12 10:33:01 +01:00
SukramJ
9a970cfe3d
Remove split devices from HMIPC ( #42348 )
2020-10-25 11:03:41 -05:00
SukramJ
6efb782871
Add wired devices to Homematic IP Cloud ( #41232 )
...
* Add wired devices to HomematicIP Cloud
* Add test to check device registry
* Add comments
* Update comment
2020-10-23 21:14:54 -05:00
Paulus Schoutsen
5dac3883b0
Stub light profiles ( #42232 )
2020-10-23 16:28:21 +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
SukramJ
e300cf3747
Add binary_sensor for cloud connectivity to HomematicIP Cloud ( #39675 )
...
* Add binary_sensor for cloud connectivity to HomematicIP Cloud
* Fix Test
* Remove device_class
* Switch from _device to _home
* Switch from _device to _home for sensor
2020-09-19 10:59:46 -05:00
springstan
d2b1918e9c
Drop UNIT_ prefix for percentage constant ( #39383 )
2020-09-05 21:09:14 +02:00
SukramJ
4dee2b599a
Add HmIP-STV to HomematicIP Cloud ( #39518 )
...
* add general attribute for connection type
* Add HmIP-STV to HomematicIP Cloud
2020-09-03 17:23:42 +02:00
SukramJ
f2f68859cc
Fix wrong error message on adding a new HomematicIP Cloud AP ( #39599 )
2020-09-03 09:52:51 +02:00
SukramJ
5de1d04b6e
Bump dependency to 0.11.0 for HomematicIP Cloud ( #39508 )
...
* Bump dependency to 0.11.0 for HomematicIP Cloud
* Update test data
2020-08-31 18:18:12 +02:00
SukramJ
b5c2c9ec9b
Add device attribute for homematicip_cloud rotary handle ( #39144 )
2020-08-28 00:08:37 -05:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +02:00
SukramJ
758c0adb5e
Rename entity base class for HMIPC ( #39243 )
2020-08-26 01:55:55 +02:00
SukramJ
d119c96aee
Add HmIP-FSI16 to HomematicIP Cloud ( #37715 )
2020-07-14 22:43:21 +02:00
SukramJ
212b9df87d
Bump dependency & add devices for HomematicIP Cloud ( #36595 )
...
* update dependency and test data
* Add test for HmIP-SWDO-PL
* Add device HmIP-MOD-HO
* Fix test
2020-06-10 11:34:14 +02:00
Paulus Schoutsen
ec47216388
Use built-in test helpers on 3.8 ( #34901 )
2020-04-30 13:29:50 -07:00
SukramJ
1c6e92c45b
Fix HomematicIP smoke detector detection type ( #34347 )
2020-04-17 11:35:30 -07:00
springstan
f839ba00eb
Use POWER_WATT constant ( #33984 )
2020-04-11 15:40:59 +02:00
Franck Nijhof
528c7f4871
Removal of extraneous parenthesis in tests ( #33670 )
...
* Removal of extraneous parenthesis
* Process review suggestions
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-04-05 03:50:30 +02:00
SukramJ
1cd0e764b6
Use new HMIP labels for HomematicIP Cloud multi devices ( #32925 )
...
* Use new labels for HomematicIP Cloud multi devices
* Update homeassistant/components/homematicip_cloud/device.py
Co-Authored-By: springstan <46536646+springstan@users.noreply.github.com>
* Update name composition
Co-authored-by: springstan <46536646+springstan@users.noreply.github.com>
2020-03-29 21:38:59 +02:00
SukramJ
3c2df7f8f2
Fix homematicip_cloud tests that have uncaught exceptions ( #33371 )
2020-03-28 21:01:53 -07:00
SukramJ
2f80489428
Add SF transition to HmIP-BSL and remove obsolete code in HMIPC ( #32833 )
2020-03-15 19:01:50 +01:00
SukramJ
4f81109304
Fix flaky tests for HMIPC ( #32806 )
2020-03-14 19:35:15 +01:00
Paulus Schoutsen
d4615fd432
Freeze config entry data ( #32615 )
...
* Freeze config entry data
* Fix mutating entry.data
* Fix config entry options tests
2020-03-09 14:07:50 -07:00
springstan
f1a0ca7cd3
Add and use percentage constant ( #32094 )
...
* 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 ( #32122 )
...
* 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
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
SukramJ
da4c08de12
Fix test for HMIPC ( #31981 )
2020-02-19 12:41:14 +01:00
SukramJ
0d874902cc
Add shutter group to HomematicIP Cloud ( #31916 )
2020-02-19 10:59:49 +01:00
SukramJ
f4f01cb23a
Add new devices to HomematicIP Cloud ( #31914 )
...
* Add new devices to HomematicIP Cloud
Adds:
- HMIP-WTH-B (Wall Thermostat Basic)
- ALPHA-IP-RBG (Alpha IP Wall Thermostat Display)
- ALPHA-IP-RBGa (ALpha IP Wall Thermostat Display analog)
* Update homeassistant/components/homematicip_cloud/sensor.py
Co-Authored-By: springstan <46536646+springstan@users.noreply.github.com>
Co-authored-by: springstan <46536646+springstan@users.noreply.github.com>
2020-02-19 10:43:12 +01:00
SukramJ
32f25a8484
Adjust tests after speed up to restore coverage for HomematicIP Cloud ( #31836 )
...
* Adjust tests after speed up to restore coverage for HomematicIP Cloud
* Fix test data
* Fixes after review
* remove duplicate cade
* remove service marker
2020-02-16 10:09:26 +01:00
SukramJ
9eb0415234
Speed up tests of HomematicIP Cloud ( #31810 )
...
* Speed up tests of HomematicIP Cloud
* load the json once
2020-02-13 22:56:17 -08:00
SukramJ
2f3ab15268
Remove force from async_schedule_update_ha_state for HMIPC ( #31796 )
...
* remove force from async_schedule_update_ha_state if HMIPC
* Fix lint
2020-02-13 16:24:43 -08:00
SukramJ
ec2d378a19
Add test for adding a device to HomematicIP Cloud ( #31224 )
...
* Add test for adding a hmip device
* refactor get_mock_hap to use config_entry setup
* remove unused parameters
2020-01-28 08:44:30 +01:00
SukramJ
1dbfc66669
Cleanup of HomematicIP Cloud tests ( #31181 )
...
* CleanUp tests for HomematicIP_Cloud
* Remove not required CoroutineMock
* remove None return in mocks, add asserts
* rewrite test
2020-01-27 21:34:15 +01:00