Joost Lekkerkerker
4224234b7a
Add binary sensor to Netatmo ( #115119 )
...
* Add binary sensor to Netatmo
* Update homeassistant/components/netatmo/binary_sensor.py
Co-authored-by: Jan-Philipp Benecke <github@bnck.me>
* Sigh
* Fix
* Fix
* Fix
---------
Co-authored-by: Jan-Philipp Benecke <github@bnck.me>
2024-04-11 07:46:07 +02:00
Joost Lekkerkerker
7e1a5b19c4
Add entity translations to Netatmo ( #115104 )
...
* Add entity translations to Netatmo
* Yes
* Remove
* Fix name
2024-04-10 08:50:27 +02:00
Joost Lekkerkerker
021eed66f3
Add more base entities to netatmo ( #107862 )
...
* Rename netatmo base entity file
* Add more Netatmo base entities
* Add more Netatmo base entities
* Add more Netatmo base entities
* Add more Netatmo base entities
* Apply suggestions from code review
* Add more Netatmo base entities
* Add snapshot tests to Netatmo platforms
* Add snapshot tests to Netatmo platforms
* Fix snapshots
* Fix tests
* Update snapshots
* Add fans
* Add fans
* Update homeassistant/components/netatmo/select.py
Co-authored-by: Tobias Sauerwein <cgtobi@users.noreply.github.com>
* Add snapshot tests to Netatmo platforms
* Update snapshots
* minor clean up
* Fix tests
* Fix
* Fix
* Fix
* Move dot split to weather station sensors
---------
Co-authored-by: Tobias Sauerwein <cgtobi@users.noreply.github.com>
Co-authored-by: Tobias Sauerwein <cgtobi@gmail.com>
2024-04-07 13:36:12 +02:00
Joost Lekkerkerker
14e7e4c860
Remove entity description mixin in Netatmo ( #112910 )
2024-03-11 12:04:04 +01:00
Marc Mueller
988c71ecc5
Add empty line after module docstring [n-q] ( #112702 )
2024-03-08 15:04:07 +01:00
Joost Lekkerkerker
68ddc1481e
Rename netatmo base entity file ( #107857 )
2024-01-12 11:30:34 +01:00
Erik Montnemery
0c2485bc03
Freeze integration entity descriptions ( #105984 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-18 16:28:13 -10:00
Tobias Sauerwein
57a6effd70
Fix unreachable Netatmo sensor returning false values ( #105954 )
...
* Fix unreachable sensor returning false values
* Clean up unnecessary code
2023-12-18 13:57:34 +01:00
Tobias Sauerwein
fa6d8d281d
Change log level to debug in Netatmo ( #103365 )
...
Change log level to debug
2023-11-04 12:31:57 +01:00
Tobias Sauerwein
96409cf0e0
Use pyatmo device type enum instead of string ( #103030 )
2023-11-04 11:28:26 +01:00
Robert Hillis
1c590f8d0e
Remove unnecessary defaults from Netatmo sensor ( #101528 )
2023-10-06 13:35:20 +02:00
Francesco Carnielli
57af4672d5
Fix power sensor state_class in Netatmo integration ( #92468 )
2023-05-04 17:36:31 +02:00
Erik Montnemery
cc564026fa
Move EntityCategory to homeassistant.const ( #87792 )
...
* Move EntityCategory to homeassistant.const
* Fix more imports
2023-02-09 20:15:37 +01:00
Petter Ljungqvist
23c9580a4a
Change pressure unit of measurement from mbar to hPa in Netatmo integration ( #86210 )
...
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-01-25 13:18:47 +01:00
epenet
061cef1a5e
Use SoundPressure unit and device class in integrations ( #83585 )
...
* Use SoundPressure unit and device class in integrations
* Adjust tests
2022-12-09 07:56:09 +01:00
epenet
0f2097595e
Use new device class in netatmo ( #83367 )
2022-12-08 20:57:51 +01:00
Tobias Sauerwein
833d271eb3
Add missing Netatmo config url for public weather ( #81220 )
...
Add missing config url for public weather
2022-10-29 17:50:34 -04:00
Franck Nijhof
a8f1cc0d33
Remove unneeded guards from (async_)add_entities call ( #80471 )
2022-10-17 21:11:58 +02:00
epenet
0e764b57c2
Use SensorDeviceClass.SPEED in components ( #79262 )
2022-09-29 09:37:21 +02:00
Tobias Sauerwein
81abeac83e
Netatmo refactor to use pyatmo 7.0.1 ( #73482 ) ( #78523 )
...
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2022-09-25 21:55:58 -04:00
Tobias Sauerwein
49854b809c
Netatmo entity renaming and clean up ( #75337 )
2022-07-27 14:17:38 +02:00
Franck Nijhof
c3d19f3827
Clean up accessing device_registry helpers via hass ( #72031 )
2022-05-17 12:22:15 -07:00
Tobias Sauerwein
3718d7fca8
Add Netatmo error logging when no public stations are available ( #65298 )
...
* Log error if public stations don't provide data
Signed-off-by: cgtobi <cgtobi@gmail.com>
* Only log once
Signed-off-by: cgtobi <cgtobi@gmail.com>
* Update homeassistant/components/netatmo/sensor.py
Co-authored-by: Shay Levy <levyshay1@gmail.com>
Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-02-01 22:06:03 +02:00
Joakim Sørensen
0a2f57e4f8
Move netatmo dataclass registrations ( #65052 )
2022-01-28 10:51:32 +01:00
epenet
4bfc3eb22f
Use new enums in netatmo ( #61941 )
2021-12-16 22:42:29 +01:00
Tobias Sauerwein
cf7a614309
Add battery sensor for Netatmo climate devices ( #60911 )
2021-12-03 09:33:24 -08:00
Tobias Sauerwein
a1aaecb3bf
Use state class enums in Netatmo ( #60725 )
2021-12-01 19:40:51 +01:00
Tobias Sauerwein
037f4dbdb1
Use device class enums in Netatmo ( #60723 )
2021-12-01 18:30:47 +01:00
Marc Mueller
e0c0d00833
Use assignment expressions 39 ( #58829 )
2021-10-31 18:56:25 +01:00
Tobias Sauerwein
ac4496b985
Use async_on_unload in Netatmo ( #58461 )
2021-10-26 13:43:54 +02:00
Tobias Sauerwein
ab66efba0e
Add entity categories to Netatmo ( #58383 )
2021-10-25 12:38:59 +02:00
Tobias Sauerwein
83e45300c2
Add configuration_url
to Netatmo devices ( #58160 )
2021-10-22 11:14:28 +02:00
Tobias Sauerwein
7560c7b3de
Add long-term statistics support for rain sensors ( #56847 )
2021-10-01 07:24:55 +02:00
Erik Montnemery
103e21c278
Move temperature conversions to sensor base class (5/8) ( #54475 )
2021-08-12 13:26:17 +02:00
Franck Nijhof
91ab86c17c
Add state class support to Netatmo ( #54051 )
2021-08-05 12:29:00 +02:00
Marc Mueller
553521a76b
Add mixin classes for required keys in EntityDescription ( #53610 )
2021-07-28 11:50:13 +02:00
Marc Mueller
b7f1f2330a
Use EntityDescription - netatmo ( #53568 )
...
* Use EntityDescription - netatmo
* Add coverage exclude
* Fix coverage exclude comment
2021-07-28 08:18:59 +02:00
Tobias Sauerwein
583deada83
Add type annotations for Netatmo ( #52811 )
2021-07-21 14:36:57 -07:00
Daniel Hjelseth Høyer
2cf930f3bd
Netatmo, use nameclass ( #53247 )
2021-07-21 08:46:01 +02:00
Marc Mueller
f6b162bc39
Add pylint CodeStyle extension ( #53147 )
2021-07-19 06:57:06 -07:00
Marc Mueller
c35b5a1c64
Add sound pressure unit constants (dB + dBa) ( #53159 )
2021-07-19 06:54:38 -07:00
Tobias Sauerwein
cb0a7589ce
Use class properties in netatmo ( #52705 )
2021-07-08 09:30:54 +02:00
Tobias Sauerwein
7291228e16
Remove boilerplate code in favour of attributes in Netatmo integration ( #52395 )
...
* Make use of attributes
* Add suggestions
* Update homeassistant/components/netatmo/sensor.py
Co-authored-by: Daniel Hjelseth Høyer <mail@dahoiv.net>
* Update homeassistant/components/netatmo/sensor.py
Co-authored-by: Daniel Hjelseth Høyer <mail@dahoiv.net>
Co-authored-by: Daniel Hjelseth Høyer <mail@dahoiv.net>
2021-07-02 11:36:37 +02:00
Tobias Sauerwein
14d3286b21
Clean up netatmo sensor data processing ( #52403 )
2021-07-02 10:08:54 +02:00
Tobias Sauerwein
d975f9eb0a
Fix Netatmo sensor logic ( #51338 )
2021-06-01 17:58:25 +02:00
Tobias Sauerwein
9bd74961f0
Fix unnecessary API calls in Netatmo ( #51260 )
2021-05-30 20:55:45 -07:00
Tobias Sauerwein
ac922916c1
Fix Netatmo sensor initialization ( #51195 )
2021-05-28 13:36:22 +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
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
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