Commit Graph

50994 Commits (fef21c02eedc757eb41114dd655c08c0c8952761)

Author SHA1 Message Date
uvjustin fef21c02ee
Clean up disabling audio in stream (#74038) 2022-06-28 01:56:10 +02:00
leroyloren e706c6a15f
Visiblity fix unit km to m (#74008) 2022-06-28 01:53:57 +02:00
G Johansson 2f0fe0df82
Fix wind speed SMHI (#72999) 2022-06-28 01:50:06 +02:00
epenet b2c84a4c4a
Adjust reauth in awair config flow (#72386)
* Adjust config-flow type hints in awair

* Improve typing of dict arguments

* Use mapping for async_step_reauth

* Add async_step_reauth_confirm

* Don't try old token

* Adjust translations

* Adjust tests

* Update tests/components/awair/test_config_flow.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update tests/components/awair/test_config_flow.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update tests/components/awair/test_config_flow.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update tests/components/awair/test_config_flow.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update tests/components/awair/test_config_flow.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update tests/components/awair/test_config_flow.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update tests/components/awair/test_config_flow.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-06-28 01:49:10 +02:00
Iván Cea Fontenla c62bfcaa4c
Nuki opener event on ring (#72793)
* feat(nuki): add ring action timestamp attribute

* feat(nuki): add ring action state attribute

* Emit event on Nuki Opener ring

* Removed event attributes

* Use entity registry to get entity id

* Move event firing to the async update method

* Move events code outside try-except

* Black autoformat

* Added missing period to doc

* Import order

Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-06-28 01:47:55 +02:00
Franck Nijhof 09dca3cd94
Remove invalid unit of measurement from Glances (#73983) 2022-06-28 01:46:58 +02:00
epenet e8917af823
Cleanup update/async_update typing in Entities (#74035) 2022-06-28 00:48:56 +02:00
Franck Nijhof 21b842cf9c
Partially revert "Switch loader to use json helper (#73872)" (#74077) 2022-06-28 00:48:18 +02:00
shbatm 08c5c6ca1c
ISY994: Bump pyisy to 3.0.7 (#74071) 2022-06-27 16:24:25 -05:00
Christopher Bailey b9c636ba4e
Automatically add newly added devices for UniFi Protect (#73879) 2022-06-27 16:03:25 -05:00
Robert Svensson 33f5b225fb
Use aiounifi v34 to utilise orjson for better performance (#74065)
Bump aiounifi to v34
2022-06-27 21:29:19 +02:00
Erik Montnemery 84ea8a3c43
Fix misleading comments in tomorrowio (#74049)
* Fix misleading comments in tomorrowio

* Add test
2022-06-27 14:26:04 -04:00
Erik Montnemery 5f06404db5
Migrate tomorrowio to native_* (#74050) 2022-06-27 14:25:36 -04:00
Joakim Plate 992ceb1a09
Google Assistant diagnostics and synchronization (#73574)
* Add config flow import for local google assistant
* Add diagnostic with sync response
* Add button for device sync
2022-06-27 20:24:15 +02:00
Robert Svensson 320fa25a99
Fix re-login logic when UniFi integration receives a 401 (#74013) 2022-06-27 19:50:56 +02:00
epenet f9c83dd991
Add CoverEntity to pylint checks (#74036)
* Add CoverEntity to pylint checks

* Avoid false positivies on device_class

* Adjust device_class handling

* Adjust device_class again using a singleton

* Adjust device_class (again)

* Simplify DEVICE_CLASS check

* Keep device_class in base class
2022-06-27 14:58:23 +02:00
RenierM26 10ea88e0ea
Switchbot bump Dependency 0.14.0 (#74001)
* Bump requirement.

* Switchbot depenacy update, full async.

* Update tests, remove redundant config entry check.

* Update requirements_test_all.txt

* Update requirements_all.txt

* Remove asyncio lock. Not required anymore with bleak.

* Update requirements_all.txt

* Update requirements_test_all.txt

* pyswitchbot no longer uses bluepy
2022-06-27 13:56:51 +02:00
epenet b185de0ac0
Add base Entity to pylint checks (#73902)
* Add base entity properties

* Add special case of Mapping[xxx, Any]

* Add Mapping tests

* Add entity functions

* Adjust docstring

* Add update/async_update
2022-06-27 12:10:31 +02:00
MatthewFlamm e32c7dbf92
Use built in unit handling for nws weather (#73981)
use built in unit handling for nws
2022-06-27 11:39:02 +02:00
Joakim Sørensen a94579107c
Bump awesomeversion from 22.5.2 to 22.6.0 (#74030) 2022-06-27 11:38:40 +02:00
akloeckner aa314a0901
Add this variable to trigger-based templates (#72437)
add this variables to trigger-based templates

follow-up for https://github.com/home-assistant/core/issues/70359
2022-06-27 08:59:29 +02:00
GitHub Action 11ec8b9186 [ci skip] Translation update 2022-06-27 00:25:49 +00:00
J. Nick Koston 9a0b3796d3
Bump xmltodict to 0.13.0 (#73974)
Changelog: https://github.com/martinblech/xmltodict/blob/v0.13.0/CHANGELOG.md
2022-06-26 12:38:17 +02:00
avee87 fb5e6aaa29
Clean up Glances sensors a bit (#73998) 2022-06-26 12:33:11 +02:00
J. Nick Koston 6ec6f0a835
Fix file sensor reading the whole file to get the last line (#73986) 2022-06-25 21:02:50 -05:00
GitHub Action ba64d9db64 [ci skip] Translation update 2022-06-26 00:28:21 +00:00
Khole ce144bf631
Add Hive device configuration to config flow (#73955)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-06-26 00:13:30 +02:00
rikroe f78d209f93
Bump bimmer_connected to 0.9.6 (#73977)
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2022-06-25 10:26:57 -07:00
J. Nick Koston 949922ef2c
Fix exception when as_dict is called on a TemplateState (#73984) 2022-06-25 09:19:11 -07:00
J. Nick Koston 15ed329108
Add async_remove_config_entry_device support to nexia (#73966)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-06-25 12:02:38 -04:00
Christopher Bailey e67f8720e8
Refactor UniFi Protect tests (#73971)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-06-25 08:15:38 -07:00
J. Nick Koston 85fdc56240
Bump aiosteamist to 0.3.2 (#73976)
Changelog: https://github.com/bdraco/aiosteamist/compare/0.3.1...0.3.2
2022-06-25 16:41:47 +02:00
rappenze eb6afd27b3
Fix fibaro cover state (#73921) 2022-06-25 12:34:30 +02:00
epenet 9eed8b2ef4
Adjust freedompro cover position method (#73945) 2022-06-25 12:32:55 +02:00
epenet 3743d42ade
Adjust smartthings cover type hints (#73948) 2022-06-25 12:31:53 +02:00
epenet 10dc38e0ec
Adjust CoverEntity property type hints in components (#73943)
* Adjust CoverEntity property type hints in components

* Revert changes to rflink

* Revert changes to wilight
2022-06-25 11:59:56 +02:00
J. Nick Koston 55b5ade586
Prime platform.uname cache at startup to fix blocking subprocess in the event loop (#73975)
Prime platform.uname cache at startup to fix blocking subprocess

- Multiple modules check platform.uname()[0] at startup which
  does a blocking subprocess call. We can avoid this happening
  in the eventloop and distrupting startup stability by priming
  the cache ahead of time in the executor
2022-06-25 04:31:44 -04:00
GitHub Action 0166816200 [ci skip] Translation update 2022-06-25 00:24:25 +00:00
avee87 ad3bd6773c
Add device_info to Glances entities (#73047) 2022-06-25 01:23:26 +02:00
Erik Montnemery a267045a31
Migrate open_meteo to native_* (#73910) 2022-06-25 01:05:31 +02:00
epenet 9b88b77b66
Use attributes in wilight (#73898)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-06-25 00:55:01 +02:00
epenet 15b7564171
Fix coverage issue in CI (#73959)
* Fix coverage issue in CI

* Adjust to latest findings

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-06-25 00:48:27 +02:00
epenet 0461eda83b
Adjust demo cover position methods (#73944) 2022-06-25 00:34:49 +02:00
J. Nick Koston 32e0d9f47c
Speed up generation of template states (#73728)
* Speed up generation of template states

* tweak

* cache

* cache hash

* weaken

* Revert "weaken"

This reverts commit 4856f50080.

* lower cache size as it tends to be the same ones over and over

* lower cache size as it tends to be the same ones over and over

* lower cache size as it tends to be the same ones over and over

* cover

* Update homeassistant/helpers/template.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* id reuse is possible

* account for iterting all sensors

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-06-24 17:28:26 -04:00
Paulus Schoutsen 57efa9569c
Cache is_supported for Google entities (#73936) 2022-06-24 17:05:36 -04:00
J. Nick Koston 44da543ca0
Bump nexia to 2.0.0 (#73935) 2022-06-24 09:59:41 -05:00
J. Nick Koston 1866a1e925
Handle non-str keys when storing json data (#73958) 2022-06-24 09:59:01 -05:00
epenet b880a05e45
Fix type hints in zha remaining channels (#73778)
* Fix hvac channel type hints

* Fix security channel type hints

* Fix homeautomation channel type hints

* Fix type hints in zha base channel

* Adjust select entity

* Remove unused arg
2022-06-24 10:35:38 -04:00
J. Nick Koston f29cc33fa0
Fix selecting entity_ids and device_ids in events with MySQL and PostgreSQL with logbook (#73918)
* Fix selecting entity_ids and device_ids in events with MySQL and PostgreSQL

Fixes #73818

* add cover
2022-06-24 15:43:35 +02:00
epenet 6cafcb016f
Adjust rfxtrx cover type hints (#73947) 2022-06-24 10:22:40 +02:00