HomeAssistant Azure
0b4b071c02
[ci skip] Translation update
2021-04-14 00:03:17 +00:00
J. Nick Koston
81e6ad0744
Replace http startup logic with async_when_setup_or_start ( #48784 )
2021-04-13 14:10:58 -07:00
J. Nick Koston
d7ac4bd653
Cancel sense updates on the stop event ( #49187 )
2021-04-13 14:03:46 -07:00
Julien "_FrnchFrgg_" Rivaud
5a9c3fea70
Enable passing Amcrest/Dahua signals through as HA events ( #49004 )
...
Some of the compatible hardware sends event signals that wouldn't map
well to entities, e.g. NTP sync notifications, SIP registering
information, or « doorbell button pressed » events with no « return to
rest state » matching event to have a properly behaved binary sensor.
Instead of only monitoring specific events, subscribe to all of them,
and pass them through (in addition to handling them as before if they
correspond to a configured binary sensor).
Also bump python-amcrest to 1.7.2. Digest of the changes:
* The library now passes through the event data instead of just presence of a
"Start" member in in.
* Connection to some devices has been fixed by not throwing the towel on
minor errors.
https://github.com/tchellomello/python-amcrest/compare/1.7.1...1.7.2
2021-04-13 21:33:46 +02:00
puddly
5d57e5c06c
Enable the custom quirks path ZHA config option ( #49143 )
2021-04-13 13:14:53 -04:00
Paulus Schoutsen
ba93a033a5
Cloud to set up Alexa conditionally ( #49136 )
2021-04-13 09:31:41 -07:00
Paulus Schoutsen
28347e19c5
Fix Hue service being removed on entry reload ( #48663 )
2021-04-13 09:31:23 -07:00
Paulus Schoutsen
05aeff5591
Describe Google Assistant events ( #49141 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-13 09:31:01 -07:00
René Klomp
926c2489f0
Implement SMA config flow ( #48003 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Johann Kellerman <kellerza@gmail.com>
2021-04-13 06:21:01 -10:00
Andreas Oberritter
e9f0891354
Add edl21 OBIS IDs for Holley DTZ541-ZEBA ( #49170 )
2021-04-13 17:49:28 +02:00
Raman Gupta
0f454bc456
Don't assert the device registry entry in zwave_js ( #49178 )
2021-04-13 11:32:17 -04:00
Paulus Schoutsen
beea2dd35f
Internally work with modern config syntax for template binary sensor platform config ( #48981 )
2021-04-13 07:58:44 -07:00
J. Nick Koston
82790cd28d
Do not compile static templates ( #49148 )
...
self._compiled_code is unreachable if self.is_static
2021-04-13 16:51:56 +02:00
Raman Gupta
fe6d6895aa
Migrate existing zwave_js entities if endpoint has changed ( #48963 )
...
* Migrate existing zwave_js entities if endpoint has changed
* better function name
* cleanup code
* return as early as we can
* use defaultdict instead of setdefault
* PR comments
* re-add missing logic
* set defaultdict outside of for loop
* additional cleanup
* parametrize tests
* fix reinterview logic
* test that we skip migration when multiple entities are found
* Update tests/components/zwave_js/test_init.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-13 16:37:55 +02:00
Franck Nijhof
de569982a4
Fix services for Armcrest & Logi Circle ( #49166 )
2021-04-13 16:32:39 +02:00
muppet3000
0ca3186caf
Add 'mix' system support for Growatt integration ( #49026 )
...
* Added 'mix' system support for Growatt integration
* Changed Growatt "Last Data Update" to a timestamp
* Changed Growatt "Last Data Update" to UTC
* Accepted suggested change for Growatt "Last Data Update"
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-13 15:40:30 +02:00
Erik Montnemery
916ba0be11
Don't receive homeassistant_* events from MQTT eventstream ( #49158 )
2021-04-13 15:09:50 +02:00
Raman Gupta
769923e8dd
Raise exception for invalid call to DeviceRegistry.async_get_or_create ( #49038 )
...
* Raise exception instead of returning None for DeviceRegistry.async_get_or_create
* fix entity_platform logic
2021-04-13 14:18:51 +02:00
Tobias Sauerwein
2b79c91813
Clean up camera service schema ( #49151 )
2021-04-13 13:07:05 +02:00
J. Nick Koston
5365fb6c72
Fix setting up remotes that lack a supported features list in homekit ( #49152 )
2021-04-13 12:44:07 +02:00
J. Nick Koston
51a7a724d6
Bump aiodiscover to 1.3.4 ( #49142 )
...
- Changelog: https://github.com/bdraco/aiodiscover/compare/v1.3.3...v1.3.4 (bumps pyroute2>=0.5.18 to fix https://github.com/svinota/pyroute2/issues/717 )
2021-04-13 12:31:55 +02:00
J. Nick Koston
91821fa6ad
Name the dhcp watcher thread ( #49144 )
...
When getting py-spy reports, it is helpful to get thread names
to make it easier to track down issues.
2021-04-13 12:29:30 +02:00
J. Nick Koston
2cc9ae1af1
Use named constants for core shutdown timeouts ( #49146 )
...
This is intended to make them easier to reference outside the core
code base.
2021-04-13 12:21:52 +02:00
Clifford Roche
4ce6d00a22
Improve the discovery process for Gree ( #45449 )
...
* Add support for async device discovery
* FIx missing dispatcher cleanup breaking integration reload
* Update homeassistant/components/gree/climate.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Update homeassistant/components/gree/switch.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Update homeassistant/components/gree/bridge.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Working on feedback
* Improving load/unload tests
* Update homeassistant/components/gree/__init__.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Working on more feedback
* Add tests covering async discovery scenarios
* Remove unnecessary shutdown
* Update homeassistant/components/gree/__init__.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Code refactor from reviews
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-04-13 11:54:03 +02:00
Dermot Duffy
63d42867e8
Add Hyperion device support ( #47881 )
...
* Add Hyperion device support.
* Update to the new typing annotations.
* Add device cleanup logic.
* Fixes based on the excellent feedback from emontnemery
2021-04-13 10:35:38 +02:00
Mike O'Driscoll
5bf3469ffc
ZHA support Quotra LED On quirk ( #49137 )
...
The Quotra-Vision QV-RGBCCT doesn't support the move_to_level_with_onoff
command in ZCL spec. Force on with this device.
2021-04-12 20:32:36 -04:00
Raman Gupta
cc40e681e2
Lazy load zwave_js platforms when the first entity needs to be created ( #49016 )
...
* Lazy load zwave_js platforms when the first entity needs to be created
* switch order to make things easier to understand
* await task instead of using wait_for_done callback
* gather tasks
* switch from asyncio.create_task to hass.async_create_task
* unsubscribe from callbacks before unloading platforms
* Clean up as much as possible during entry unload, even if a platform unload fails
2021-04-12 20:26:49 -04:00
J. Nick Koston
53853f035d
Prevent calling stop or restart services during db upgrade ( #49098 )
2021-04-12 17:18:38 -07:00
Paulus Schoutsen
65126cec3e
Allow top level non-trigger template entities ( #48976 )
2021-04-12 17:15:50 -07:00
HomeAssistant Azure
93c68f8be6
[ci skip] Translation update
2021-04-13 00:04:04 +00:00
Shay Levy
5c71ba578d
Fix Shelly brightness offset ( #49007 )
2021-04-12 15:52:51 -07:00
Unai
ff8e4fb77f
Upgrade maxcube-api to 0.4.2 ( #49106 )
...
Upgrade to maxcube-api 0.4.2 to fix pending issues in HA 2021.4.x:
- Interpret correctly S command error responses (https://github.com/home-assistant/core/issues/49075 )
- Support application timezone configuration (https://github.com/home-assistant/core/issues/49076 )
2021-04-13 00:14:29 +02:00
starkillerOG
88d2fb4aa6
Bump yeelight version to 0.6.0 ( #49111 )
2021-04-13 00:06:52 +02:00
treylok
7256e333e4
Add Ecobee humidifier ( #45003 )
2021-04-12 23:44:13 +02:00
Ludovico de Nittis
de4b1eebdd
iAlarm small code quality improvements ( #49126 )
2021-04-12 23:24:15 +02:00
Raman Gupta
b98ca49a56
Add min and max temp properties to zwave_js.climate ( #49125 )
2021-04-12 22:12:38 +02:00
Erik Montnemery
ff5fbea1fb
Improve trace of template conditions ( #49101 )
...
* Improve trace of template conditions
* Refactor
* Fix wait_template trace
* Update tests
2021-04-12 20:22:28 +02:00
Marc Mueller
106dc4d28a
Don't import stdlib typing types from helpers.typing ( #49104 )
2021-04-12 18:43:14 +02:00
Erik Montnemery
f5545badac
Quote media_source paths ( #49054 )
...
* Quote path in async_sign_path
* Address review comments, add tests
* Update tests/testing_config/media/Epic Sax Guy 10 Hours.mp4
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-04-12 18:32:12 +02:00
jjlawren
dbb771e19c
Check all endpoints for zwave_js.climate hvac_action ( #49115 )
2021-04-12 12:29:45 -04:00
Abílio Costa
ebc2bec08d
Reduce reporting delta for ZHA humidity channel ( #49070 )
2021-04-12 12:02:59 -04:00
Marc Mueller
885f528711
Replace old style type comments ( #49103 )
2021-04-12 17:07:18 +02:00
Marc Mueller
05468a50f4
Fix xbox type hint ( #49102 )
2021-04-12 13:57:30 +02:00
David F. Mulcahey
fe80afdb86
Add support for custom configurations in ZHA ( #48423 )
...
* initial configuration options
* first crack at saving the data
* constants
* implement initial options
* make more dynamic
* fix unload and reload of the config entry
* update unload
2021-04-12 07:08:42 -04:00
Zero King
9c11f6547a
Fix forecast pressure unit in OpenWeatherMap ( #49069 )
2021-04-12 11:56:35 +02:00
William Scanlon
06a8ffe94d
Bump pyeconet to 0.1.14 ( #49067 )
...
* Bump pyeconet to fix crash
* Bump pyeconet from beta version
* Update requirements_all
2021-04-12 10:41:20 +02:00
J. Nick Koston
73f227b651
Use shared httpx client in enphase_envoy ( #48709 )
...
* Use shared httpx client in enphase_envoy
* test fix
* f
* bump version
2021-04-12 10:31:25 +02:00
Franck Nijhof
a610076001
Support min()/max() as template function ( #48996 )
2021-04-12 10:02:04 +02:00
J. Nick Koston
9368891b1b
Live db migrations and recovery ( #49036 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-04-11 20:43:54 -10:00
Paulus Schoutsen
2d5edeb1ef
Set hass when adding template attribute ( #49094 )
2021-04-11 22:49:09 -07:00