Commit Graph

39982 Commits (f76cb129458f94534fe44e44b51c3393cd256270)

Author SHA1 Message Date
Raman Gupta b1f4ccfd6b
Reuse zwave_js device when replacing removed node with same node ()
* Reuse zwave_js device when a removed node is replaced with the same node

* Ensure change is backwards compatible with servers that don't include replaced

* Remove lambda

* Add assertions to remove type ignores

* fix tests by always copying state and setting manufacturer/label attributes
2021-09-25 10:43:37 +02:00
Michaël Arnauts 5d3d6fa1cd
Add `state_class` and use `SensorEntityDescription` for comfoconnect ()
* Add state_class=measurement and use SensorEntityDescriptions

* Use attributes from entity_description

* Improvements

* Adress remarks

* Revert changes to fan

* move method

* Fix tests

* Revert fan/__init__.py

* Revert key change

* Set default percentage in turn_on
2021-09-24 22:26:56 +02:00
Aaron Bach 0ea5f25594
Add ability to re-auth Notion () 2021-09-24 11:23:19 -07:00
Robert Hillis a7d56d1c3f
Bump goalzero to 0.2.0 ()
* Bump goalzero to 0.1.8

* bump

* recheck

* bump
2021-09-24 12:18:14 -06:00
Eduard van Valkenburg ac576a2bc6
update SIA package () 2021-09-24 12:15:21 -06:00
RenierM26 3c80e05100
Set Switchbot _attr_is_closed on init ()
* self._attr_is_closed needs to be set initially.

* Set _attr_is_closed on init.
2021-09-24 12:13:45 -06:00
Maikel Punie 8aff51042b
Bump velbus-aio to 2021.9.4 ()
* Bump version, move the cache-dir to the home-assistant config

* Moved the cahce into the storage dir

* Bump version, 2021.9.3 will use pathlib

* Bump version to 2021.9.4

* Clean config path

* Remove leading slash

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-09-24 20:09:44 +02:00
Robert Hillis e078f4ce14
Move efergy api to pyefergy ()
* Move efergy api to pyefergy

* fix permissions

* tweak

* tweak
2021-09-24 12:54:15 +02:00
Franck Nijhof d7e121f3e8
Upgrade pytest to 6.2.5 () 2021-09-24 10:11:36 +02:00
Daniel Hjelseth Høyer aca00667df
Add device info to Surepetcare () 2021-09-24 09:21:47 +02:00
Erik Montnemery 64393b462d
Add migration for 5-minute statistics ()
* Add migration for 5-minute statistics

* Tweaks
2021-09-24 09:19:22 +02:00
Erik Montnemery 7452998081
Convert last_reset timestamps to UTC ()
* Convert last_reset timestamps to UTC

* Add test

* Apply suggestion from code review
2021-09-24 09:16:50 +02:00
Maciej Bieniek e62c9d338e
Rework Tractive integration init ()
* Rework integration init

* Suggested chancge

* Use Trackables class

* Use try..except for trackable_objects

* Check that the pet has tracker linked
2021-09-24 08:45:03 +02:00
Jan Bouwhuis e73ca9bd18
Alexa fix Fan support and cleanup ()
* del PowerLevelController, ena fan PowerController

* Use AlexaRangeContoller for speed or default

* Update tests

* no-else-return

* Avoid cases with only one preset_mode

* Only report ghost_mode to Alexa - fix bug

* Add some tests for patched code

* pylint

* pylint and tests with one preset_mode

* correct ghost preset mode check in test

* add tests for RangeController

* ghost preset_mode locale agnostic

* isort

* Update homeassistant/components/alexa/capabilities.py

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

* Update homeassistant/components/alexa/entities.py

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

* Update homeassistant/components/alexa/entities.py

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

* Update homeassistant/components/alexa/entities.py

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

* Update homeassistant/components/alexa/entities.py

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

* Update entities.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-09-24 08:14:45 +02:00
J. Nick Koston 0363c22dd8
Fix Sonos going offline with 13.3 firmware () 2021-09-23 20:39:20 -07:00
RenierM26 915afedcfc
Add binary_sensor to switchbot ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-09-23 17:10:34 -05:00
Milan Meulemans 0b53f73fe2
Convert Nanoleaf integration to use Async library aionanoleaf () 2021-09-23 15:37:37 -05:00
Michael 7ece35cd6f
Assume Fritz!Smarthome device as unavailable () 2021-09-23 13:29:12 -07:00
RenierM26 972db29c88
Add sensor to switchbot platform ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-09-23 15:27:34 -05:00
Daniel Hjelseth Høyer 6e7bc65e2e
Airthings () 2021-09-23 13:20:30 -07:00
Daniel Hjelseth Høyer a94514b00d
Add Surepetcare entity class () 2021-09-23 13:19:46 -07:00
Rami Mosleh 4c40d1767a
Remove config for `Speedtest.net` () 2021-09-23 20:44:59 +02:00
Franck Nijhof 7fc0717ab1
Upgrade debugpy to 1.4.3 () 2021-09-23 11:12:19 -07:00
Franck Nijhof 750a1b84ad
Add date device_class to Twente Milieu sensors () 2021-09-23 11:09:00 -07:00
Marc Mueller fed5f5e3b9
Use EntityDescription - fitbit () 2021-09-23 20:08:47 +02:00
Franck Nijhof 60bb3121b6
Upgrade apprise to 0.9.5.1 () 2021-09-23 11:00:45 -07:00
Kevin Worrel b43d377b53
Create but disable-by-default RPM and GPM sensors () 2021-09-23 11:00:33 -07:00
Andre Richter a5c6a65161
Activate mypy for Vallox () 2021-09-23 10:59:28 -07:00
Franck Nijhof 2fe8c78811
Fix Toon push updates () 2021-09-23 19:50:30 +02:00
jan iversen 1cc850877f
strictly type: fan.py, light.py, switch.py. () 2021-09-23 18:35:50 +01:00
Brian O'Connor cce906f968
Fix OpenWeatherMap dewpoint conversion () 2021-09-23 10:14:15 -07:00
Marc Mueller 70f10338cc
Use EntityDescription - solaredge_local () 2021-09-23 18:29:58 +02:00
Joakim Sørensen 98d0c84468
Enable strict typing for the tautulli integration () 2021-09-23 16:56:21 +02:00
Aaron Bach 1a47fcc4e3
Add long-term statistics for OpenUV sensors () 2021-09-23 16:54:06 +02:00
Marc Mueller b634bd26d0
Use EntityDescription - kraken () 2021-09-23 16:42:55 +02:00
Franck Nijhof c1df49e9fc
Upgrade black to 21.9b0 () 2021-09-23 16:33:24 +02:00
Jc2k 442d850fc9
Bump aiohomekit to 0.6.3 () 2021-09-23 16:30:15 +02:00
Franck Nijhof 237efcf6b1
Upgrade colorlog to 6.4.1 () 2021-09-23 16:12:13 +02:00
Franck Nijhof bdef131294
Upgrade watchdog to 2.1.5 () 2021-09-23 16:11:47 +02:00
Franck Nijhof 71ab24f350
Upgrade pre-commit to 2.14.1 () 2021-09-23 16:11:29 +02:00
Franck Nijhof 655dc890e4
Upgrade PyTurboJPEG to 1.6.1 () 2021-09-23 15:34:34 +02:00
J. Nick Koston a6ccb1821e
Update zeroconf to 0.36.7 () 2021-09-23 08:00:17 -05:00
Erik Montnemery f0a4a89d21
Add comments to recorder statistics code ()
* Add comments to recorder statistics code

* Revert accidental change of list_statistic_ids
2021-09-23 13:14:45 +02:00
Ricardo Steijn 63610eadc9
Address Crownstone review comments () 2021-09-23 09:23:45 +02:00
Oscar Calvo ea8f624f28
Fix an issue where core process crashes when an SMS is received () 2021-09-22 21:49:08 -07:00
Erik Montnemery 83156fb9ec
Energy validation: Require last_reset attribute to be set for state_class measurement energy and cost sensors ()
* Require last_reset attribute to be set for measurement state_class

* Tweak

* Improve tests

* Lint

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-09-22 21:48:37 -07:00
Paulus Schoutsen 974376a8de
Bump frontend to 20210922.0 () 2021-09-22 16:20:58 -07:00
Paulus Schoutsen 677abcd484
Allow confirming local push notifications ()
* Allow confirming local push notifications

* Fix from Zac

* Add tests
2021-09-22 23:17:04 +02:00
Erik Montnemery f77e93ceeb
Fix validation of cost entities for energy dashboard () 2021-09-22 13:57:58 -07:00
Sian 351ef0ab44
Register Google assistant energy storage trait () 2021-09-22 13:36:03 -07:00