Tobias Sauerwein
ac922916c1
Fix Netatmo sensor initialization ( #51195 )
2021-05-28 13:36:22 +02:00
Tobias Sauerwein
eb66f8ef6d
Fix Netatmo data class update ( #51177 )
2021-05-28 08:00:11 +02:00
tkdrob
d1c4d0de49
Use bool annotations for setup entries ( #51166 )
2021-05-27 17:39:06 +02:00
tkdrob
028a07d86f
Wrap up selectors ( #50794 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-25 14:45:17 +02:00
Tobias Sauerwein
0623648309
Clean up Netatmo integration ( #50904 )
2021-05-20 19:28:21 +02:00
Tobias Sauerwein
ceec871340
Make Netatmo use async pyatmo ( #49717 )
...
* Split initialization from data retrival
* Await class initialization
* Async camera
* More async
* Remove stale code
* Clean up
* Update tests
* Fix test
* Improve error handling
* Bump pyatmo version to 5.0.0
* Add tests
* Add cloudhook test
* Increase coverage
* Add test with no camera devices
* Add test for ApiError
* Add test for timeout
* Clean up
* Catch pyatmo ApiError
* Fix PublicData
* Fix media source bug
* Increase coverage for light
* Test webhook with delayed start
* Increase coverage
* Clean up leftover data classes
* Make nonprivate
* Review comments
* Clean up stale code
* Increase cov
* Clean up code
* Code clean up
* Revert delay
* Update homeassistant/components/netatmo/climate.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/netatmo/sensor.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Address comment
* Raise cov
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-20 14:59:19 +02:00
Maciej Bieniek
e06a2a53c4
Add constructor return type in integrations L-N ( #50888 )
...
* Add constructor return type in integrations L-N
* Small fix
2021-05-20 13:06:44 +01:00
Tobias Sauerwein
3ed416ed4c
Bump pyatmo to 4.2.3 ( #50801 )
...
* Bump pyatmo to 4.2.3
* Fix typo and update test fixture
2021-05-19 08:47:06 +02:00
Tobias Sauerwein
e2f497ceba
Fix Netatmo selector for setting persons being at home ( #50373 )
2021-05-12 00:22:07 +02:00
Tobias Sauerwein
12342437e2
Fix battery attribute ( #50405 )
2021-05-10 20:40:44 +02:00
Tobias Sauerwein
86393bdbba
Fix Netatmo climate ( #50238 )
2021-05-07 15:10:46 +02:00
Franck Nijhof
2ed386f9e6
Migrate to async_get_current_platform everywhere ( #50034 )
2021-05-03 09:34:28 -07:00
HomeAssistant Azure
04266301e9
[ci skip] Translation update
2021-05-03 00:05:16 +00:00
Franck Nijhof
a6206b2819
Clean up connection classes in integrations M-O ( #49892 )
2021-04-30 21:03:37 -10:00
J. Nick Koston
3f3f77c6e6
Reduce config entry setup/unload boilerplate N-P ( #49777 )
2021-04-27 20:42:21 +02:00
J. Nick Koston
3fa8ffa731
Enable mccabe complexity checks in flake8 ( #49616 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-04-25 12:38:40 +02:00
Marc Mueller
c07646db5d
Update typing syntax ( #49480 )
...
* Update typing syntax
* Replace typing imports with ones from collections where possible
* Changes after review
2021-04-20 17:40:41 +02:00
J. Nick Koston
b557d20fbb
Fix memory leak in netatmo ( #49464 )
2021-04-20 11:03:07 +02:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest ( #46935 )
2021-04-15 10:21:38 +02:00
HomeAssistant Azure
0b4b071c02
[ci skip] Translation update
2021-04-14 00:03:17 +00:00
HomeAssistant Azure
c7d19d5115
[ci skip] Translation update
2021-04-12 00:04:19 +00:00
Tobias Sauerwein
3bc6497cbd
Add Netatmo schedule event handling ( #46573 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-03-26 15:08:41 +01:00
Erik Montnemery
72281f4718
Validate device trigger schemas once ( #48319 )
2021-03-26 08:09:21 +01:00
Tobias Sauerwein
ec1334099e
Add tests for Netatmo data handler ( #46373 )
...
* Add tests for Netatmo data handler
* Clean up coveragerc
* Move block to fixture
* Minor update
* Remove tests of implementation details for data handler
* Update homeassistant/components/netatmo/data_handler.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/netatmo/data_handler.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Import callback
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-03-25 19:07:45 +01:00
Tobias Sauerwein
0d699bb768
Add tests for Netatmo sensor ( #46393 )
...
* Add tests for Netatmo sensor
* Fix coveragerc
* Remove freezegun dependency
* Use f-strings instead of string concatenation
* Update tests/components/netatmo/test_sensor.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Address comment on config options test
* Replace deprecated call to async_get_registry()
* Fix public weather sensor update test
* Clean up
* Prevent division by zero
Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-03-24 07:17:51 +01:00
HomeAssistant Azure
55b689b464
[ci skip] Translation update
2021-03-23 00:03:29 +00:00
Erik Montnemery
c900e3030b
Migrate integrations n-q to extend SensorEntity ( #48214 )
2021-03-22 19:46:46 +01:00
HomeAssistant Azure
098c53e8b5
[ci skip] Translation update
2021-03-20 00:04:10 +00:00
J. Nick Koston
c820dd4cb5
Have pylint warn when user visible log messages do not start with capital letter or end with a period ( #48064 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-03-19 09:26:36 -05:00
Tobias Sauerwein
4ee4d674d8
Add tests for Netatmo camera ( #46380 )
...
* Add test for Netatmo camera
* Improve docstrings
* Remove light tests
* Remove freezegun from tests
* Update camera tests
* Remove freezegun dependency
* Update tests/components/netatmo/test_camera.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Update tests/components/netatmo/test_camera.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Deduplication of the fake webhook payload
* Mock pyatmo instead of checking the logs
* Clean up
* Further deduplication
* Assert function arguments
* Rename mocked functions
* Update .coveragerc
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-03-19 12:19:57 +01:00
Tobias Sauerwein
aaafe399a1
Add tests for Netatmo light ( #46381 )
...
* Add tests for Netatmo light
* Improve docstring
* Register the camera data class for the light platform
* Remove freezegun dependency
* Update tests
* Update tests/components/netatmo/test_light.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Deduplicate webhook test data
* Mock pytest to verify it is called
* Don't test internals
* Rename
* Assert light still on with erroneous event data
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-03-19 12:19:27 +01:00
HomeAssistant Azure
d77a28b8a1
[ci skip] Translation update
2021-03-19 00:03:03 +00:00
Marc Mueller
3d2b81a401
Update typing 11 ( #48072 )
2021-03-18 13:21:46 +01:00
HomeAssistant Azure
f625e324dd
[ci skip] Translation update
2021-03-18 00:07:07 +00:00
HomeAssistant Azure
4306c8fbb4
[ci skip] Translation update
2021-03-17 00:03:55 +00:00
HomeAssistant Azure
c11b85af2f
[ci skip] Translation update
2021-03-16 00:04:36 +00:00
Tobias Sauerwein
6b98583bc1
Add tests for Netatmo climate ( #46392 )
...
* Add tests for Netatmo climate
* Add comments and fake webhook events
* Split tests
* Split tests
* Clean up
* Fix coveragerc
* Fix requirements
* Remove freezegun dependency
* Move async_block_till_done to
* Call async_handle_webhook directly
* Use async_handle_webhook directly p2
* Exclude helper.py from
* Remove assertion of implementation details
* Use the webhook integration handler
* Extract function
2021-03-15 12:45:36 +01:00
Tobias Sauerwein
07aeb8d160
Fix Netatmo event handling ( #47792 )
2021-03-12 12:57:02 -08:00
Erik Montnemery
14a59d290a
Update integrations j-o to override extra_state_attributes() ( #47758 )
2021-03-11 20:11:25 +01:00
Mick Vleeshouwer
461e766a93
Add device class CO2 to various integrations ( #47676 )
...
* Add device class CO2 to Fibaro
* Add device class CO2 to Awair
* Add device class CO2 to Tasmota
* Add device class CO2 to Netatmo
* Add device class CO2 to Ambient Station
* Update Tasmota tests
* Remove icon
2021-03-10 12:52:55 +01:00
Tobias Sauerwein
b3c33fc1be
Fix issue at Netatmo startup ( #47452 )
2021-03-05 21:41:55 +01:00
Tobias Sauerwein
d20659d2ee
Fix issue when setting boost preset for a turned off Netatmo thermostat ( #47275 )
2021-03-02 13:02:59 -08: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
tkdrob
ab53b49d3f
Clean up constants ( #46948 )
...
* Clean up constants
* clean up humidifier constants
* fix tests
* fix prometheus tests
Co-authored-by: Tobias Sauerwein <cgtobi@users.noreply.github.com>
2021-03-02 12:52:00 +01:00
HomeAssistant Azure
44ed6cda40
[ci skip] Translation update
2021-03-01 00:09:01 +00:00
HomeAssistant Azure
eb7220ff26
[ci skip] Translation update
2021-02-28 00:07:08 +00:00
HomeAssistant Azure
43621091b7
[ci skip] Translation update
2021-02-27 00:05:45 +00:00
HomeAssistant Azure
989d3e5c87
[ci skip] Translation update
2021-02-26 00:06:13 +00:00
Tobias Sauerwein
4e09d7ee0f
Clean up Netatmo webhook handler ( #47037 )
2021-02-25 16:53:59 +01:00
HomeAssistant Azure
bb7f1b748f
[ci skip] Translation update
2021-02-25 00:05:20 +00:00
Tobias Sauerwein
722b1e8746
Add Netatmo device trigger ( #45387 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-02-24 19:20:40 +01:00
Franck Nijhof
ea4bbd771f
Add service names to previously enriched services ( #46929 )
...
Co-authored-by: Tobias Sauerwein <cgtobi@users.noreply.github.com>
2021-02-23 14:10:13 +01:00
Tobias Sauerwein
692942b399
Add service names to Netatmo services ( #46909 )
2021-02-22 18:50:01 +01:00
tkdrob
75e04f3a71
Clean up constants ( #46885 )
2021-02-22 15:28:08 +01:00
HomeAssistant Azure
0cb1f61deb
[ci skip] Translation update
2021-02-21 00:07:04 +00:00
J. Nick Koston
2807cb1de7
Implement suggested area for netatmo ( #46802 )
2021-02-19 21:57:37 -08:00
Tobias Sauerwein
bfa171f802
Add selectors to Netatmo services ( #46574 )
...
* Add selectors
* Fix schedul selector
* Update homeassistant/components/netatmo/services.yaml
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
* Update homeassistant/components/netatmo/services.yaml
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
* Update services.yaml
* Added required field
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-02-18 15:01:54 +01:00
Paulus Schoutsen
959ed6d077
Update translations
2021-02-03 11:46:49 +01:00
Tobias Sauerwein
a4c8cb6f84
Unregister webhook if it can't be established successfully ( #42791 )
2021-01-28 15:30:10 +01:00
Tobias Sauerwein
ec47df4880
Clean up unnecessary method from Netatmo code ( #45546 )
2021-01-26 01:02:48 +01:00
Tobias Sauerwein
e97448a201
Bump pyatmo to v4.2.2 ( #45386 )
2021-01-21 08:30:28 +01:00
Tobias Sauerwein
b5690053a9
Only add Netatmo climate schedule attribute if not None ( #45176 )
2021-01-15 13:15:59 +01:00
Tobias Sauerwein
e05bb7e858
Expose selected Netatmo schedule ( #45077 )
2021-01-13 17:01:29 +01:00
Tobias Sauerwein
8fa62329a4
Fix Netatmo climate boost for valves ( #44957 )
2021-01-08 18:41:31 +01:00
HomeAssistant Azure
f3cabe97e0
[ci skip] Translation update
2020-12-21 00:04:09 +00:00
HomeAssistant Azure
848224262c
[ci skip] Translation update
2020-12-10 00:03:01 +00:00
HomeAssistant Azure
9c63fbfcb1
[ci skip] Translation update
2020-12-07 00:04:18 +00:00
HomeAssistant Azure
42f00cff30
[ci skip] Translation update
2020-12-04 00:05:42 +00:00
cgtobi
65bc128c86
Bump pyatmo to v4.2.1 ( #43713 )
2020-11-28 09:29:16 +01:00
HomeAssistant Azure
8a0907acf9
[ci skip] Translation update
2020-11-12 00:10:58 +00:00
HomeAssistant Azure
4b9ba79584
[ci skip] Translation update
2020-11-11 00:10:27 +00:00
HomeAssistant Azure
57c6bb96f4
[ci skip] Translation update
2020-11-07 00:04:02 +00:00
cgtobi
f16ccae78b
Fix Netatmo public weather sensor bug ( #42858 )
2020-11-05 14:16:51 +01:00
HomeAssistant Azure
9298fec345
[ci skip] Translation update
2020-11-05 00:10:11 +00:00
cgtobi
391a5447d3
Bump pyatmo to 4.2.0 ( #42774 )
2020-11-03 00:17:37 +01:00
HomeAssistant Azure
abe6f552f6
[ci skip] Translation update
2020-11-01 00:04:54 +00:00
cgtobi
d13402108b
Add unit of measurement to Netatmo sensors ( #42208 )
...
* Add unit of measurement
* Update homeassistant/components/netatmo/sensor.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update sensor.py
* Update sensor.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-10-24 14:43:54 -05:00
cgtobi
c052c261d5
Add Netatmo sensor enable default ( #41928 )
2020-10-22 10:01:43 +02:00
HomeAssistant Azure
b102ad731f
[ci skip] Translation update
2020-10-22 00:09:52 +00:00
cgtobi
70969ecbfb
Add attribute for camera light state ( #40575 )
2020-10-20 21:57:00 +02:00
HomeAssistant Azure
81296b2b70
[ci skip] Translation update
2020-10-20 00:08:00 +00:00
Philip Allgaier
dde6305549
Cleanup unused loggers (components N-Z + tests) ( #41982 )
2020-10-16 21:24:08 -05:00
HomeAssistant Azure
39adf14079
[ci skip] Translation update
2020-10-17 00:06:00 +00:00
HomeAssistant Azure
11b812b82e
[ci skip] Translation update
2020-10-16 00:04:33 +00:00
cgtobi
0a4298322c
Reduce polling for Netatmo weather station sensors ( #41858 )
2020-10-15 09:25:59 +02:00
cgtobi
9dcc769a4a
Remove max and min temperature sensors ( #41859 )
2020-10-15 09:24:20 +02:00
HomeAssistant Azure
994ae09f69
[ci skip] Translation update
2020-10-15 00:03:50 +00:00
HomeAssistant Azure
1417a4161f
[ci skip] Translation update
2020-10-13 00:03:24 +00:00
HomeAssistant Azure
f787289ea0
[ci skip] Translation update
2020-10-12 00:03:31 +00:00
HomeAssistant Azure
80522f1bdc
[ci skip] Translation update
2020-10-11 00:03:37 +00:00
Christian Bilevits
fdc965c6b9
Add missing common strings ( #41621 )
2020-10-11 00:42:32 +02:00
J. Nick Koston
da2f9db62e
Fix async functions accidentally marked as callbacks ( #41607 )
2020-10-10 16:54:36 +02:00
HomeAssistant Azure
6ae12c3faf
[ci skip] Translation update
2020-10-10 00:05:05 +00:00
cgtobi
96035eb052
Fix missing weather sensors ( #41540 )
2020-10-09 12:34:52 +02:00
HomeAssistant Azure
29aea5a66c
[ci skip] Translation update
2020-10-09 00:04:33 +00:00
cgtobi
07d208f1bc
Bump pyatmo version to 4.1.0 ( #41487 )
2020-10-08 15:08:15 +02:00
cgtobi
05765f1700
Remove Netatmo unnecessary battery sensors ( #41321 )
2020-10-07 15:25:11 +02:00
HomeAssistant Azure
486c0b644a
[ci skip] Translation update
2020-10-07 00:06:20 +00:00
cgtobi
6065ab118f
Add Netatmo weather trend sensors ( #41318 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-06 15:25:12 +02:00
cgtobi
dcf0f9d3f3
Fix Netatmo wind angle ( #41324 )
2020-10-06 14:43:30 +02:00