1
0
mirror of https://github.com/elisspace/core.git synced 2026-09-01 17:04:05 +00:00
Commit Graph

59569 Commits

Author SHA1 Message Date
epenet
8a00281eaa Add new methods to DeviceAutomationTriggerProtocol (#72168)
* Add composite type

* Add new methods to DeviceAutomationTriggerProtocol
2022-05-19 18:23:40 +02:00
epenet
17bb503450 Add new methods to DeviceAutomationActionProtocol (#72163)
* Add composite type

* Extend action protocol

* Drop return/raise
2022-05-19 18:23:23 +02:00
Marcio Granzotto Rodrigues
3ece5965a8 Update bond-api to 0.1.18 (#72166) 2022-05-19 11:04:48 -05:00
J. Nick Koston
f06f94ea85 Add coverage to ensure we reject 0 length logbook filters (#72124) 2022-05-19 08:59:06 -07:00
Allen Porter
3526252cfc Bump gcal-sync to 0.8.1 (#72164) 2022-05-19 08:16:49 -07:00
epenet
b65b47f25e Cleanup zha async method which is not awaiting (#72093)
* Cleanup zha async method which is not awaiting

* Missed a commit
2022-05-19 17:05:25 +02:00
Matrix
1e1016aa5f Add yolink binary sensor (#72000)
* Add binary sensor platform

* Add untest file to .coveragerc

* change attr default
2022-05-19 16:43:32 +02:00
Erik Montnemery
c27d563164 Make changes to application_credentials trigger full CI run (#72157) 2022-05-19 16:19:39 +02:00
epenet
f166a47df3 Adjust device_automation type hints in nest (#72135) 2022-05-19 06:50:32 -07:00
Jan Bouwhuis
ed1c2ea2b8 Move manual configuration of MQTT fan and light to the integration key (#71676)
* Processing yaml config through entry setup

* Setup all platforms

* Update homeassistant/components/mqtt/__init__.py

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

* adjust mock_mqtt - reference config from cache

* Fix test config entry override

* Add tests yaml setup

* additional tests

* Introduce PLATFORM_SCHEMA_MODERN

* recover temporary MQTT_BASE_PLATFORM_SCHEMA

* Allow extra key in light base schema, restore test

* Fix test for exception on platform key

* One deprecation message per platform

* Remove deprecation checks from modern schema

* Update homeassistant/components/mqtt/fan.py

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

* Update homeassistant/components/mqtt/fan.py

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

* Update homeassistant/components/mqtt/light/__init__.py

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

* Update homeassistant/components/mqtt/light/__init__.py

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

* Update homeassistant/components/mqtt/light/schema_json.py

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

* Update homeassistant/components/mqtt/light/schema_template.py

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

* Update homeassistant/components/mqtt/mixins.py

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

* rename validate_modern_schema

* Do not fail platform if a single config is broken

* Update homeassistant/components/mqtt/__init__.py

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

* Fix tests on asserting log

* Update log. Make helper transparant, remove patch

* Perform parallel processing

* Update tests/components/mqtt/test_init.py

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

* Apply suggestions from code review

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

* Update homeassistant/components/mqtt/mixins.py

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

* black

* Fix tests and add #new_format anchor

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-05-19 15:04:53 +02:00
Franck Nijhof
9d377aabdb Fix Google tests (#72158) 2022-05-19 14:11:29 +02:00
starkillerOG
f7b96c87d0 Netgear test coverage (#72150) 2022-05-19 13:06:56 +02:00
starkillerOG
cfe9ea033a Split miio gateway coordinator (#69755) 2022-05-19 11:14:07 +02:00
Shay Levy
bad245a856 Fix Shelly triggers type hints (#72146) 2022-05-19 11:06:57 +02:00
starkillerOG
9be7b02613 Fix Motion Blinds checking interface for multiple gateways (#71474)
* fix checking interface for multiple gateways

* fix black

* setup lock for shared multicast listener

* fix black

* bump motionblinds to 0.6.7

* compensate for extra Lock_key

* unregister gateway when unloading

* unsubscribe stop listener

* fix black

* only unsubscribe listener on last gateway remove

* catch OSError for invalid interfaces

* test coverage

* make stop listen on last config entry more robust

* also check ConfigEntryState

* fix black
2022-05-19 10:36:22 +02:00
epenet
1d6e404512 Adjust device_automation type hints in homekit_controller (#72130) 2022-05-19 10:19:43 +03:00
epenet
f144b518b2 Adjust device_automation type hints in kodi (#72131) 2022-05-19 10:18:01 +03:00
epenet
453c6af595 Adjust device_automation type hints in arcam_fmj (#72128) 2022-05-19 10:16:46 +03:00
epenet
694dc97ac5 Adjust device_automation type hints in tasmota (#72140) 2022-05-19 10:15:41 +03:00
epenet
7e2f5968cc Adjust device_automation type hints in shelly (#72139) 2022-05-19 10:12:54 +03:00
epenet
be809980a1 Adjust device_automation type hints in deconz (#72129) 2022-05-19 08:57:02 +02:00
Adam James
c4f6fcc3d2 Increase range of valid source IDs in nad (#72086)
nad: Increase max source ID to 12

Tested on a NAD C658 with an MDC HDM-2 card installed.
2022-05-19 08:28:55 +02:00
J. Nick Koston
272e65f56d Fix device_ids being filtered when entities also specified in the logbook (#72122) 2022-05-18 23:27:31 -05:00
Allen Porter
a6402697bb Add display name for application credentials (#72053)
* Add display name for application credentials

* Rename display name to name

* Improve test coverage for importing a named credential

* Add a default credential name on import
2022-05-18 21:02:30 -07:00
Erik Montnemery
edd7a3427c Remove support for databases without ROW_NUMBER (#72092) 2022-05-18 21:52:38 -05:00
GitHub Action
3a13ffcf13 [ci skip] Translation update 2022-05-19 00:26:11 +00:00
Aaron Bach
506d09d058 Increase timeout for SimpliSafe email-based 2FA to 10 minutes (#72115)
Increase timeout for SimpliSafe email-based 2FAA to 10 minutes
2022-05-19 02:27:58 +03:00
J. Nick Koston
d8a580a90f Update nexia to use asyncio (#72108) 2022-05-18 18:08:02 -05:00
Jeef
bf63d381b2 IntelliFire On/Off Switches (#70377)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-18 15:54:52 -05:00
J. Nick Koston
5e59c3fd6d Add switch platform to Big Ass Fans (#71954) 2022-05-18 13:36:47 -07:00
J. Nick Koston
2745573610 Small cleanups lutron_caseta (#72099) 2022-05-18 13:35:35 -07:00
Paulus Schoutsen
204762d23a Merge pull request #72107 from home-assistant/rc 2022.5.5 2022-05-18 13:23:10 -07:00
Paulus Schoutsen
18b40990a2 Bump frontend to 20220518.0 (#72106) 2022-05-18 13:22:30 -07:00
Paulus Schoutsen
1b107f6845 Bumped version to 2022.5.5 2022-05-18 12:14:42 -07:00
epenet
996633553b Cleanup unused import in SamsungTV (#72102) 2022-05-18 12:14:36 -07:00
epenet
a1df9c33aa Ignore UpnpXmlContentError in SamsungTV (#72056) 2022-05-18 12:14:35 -07:00
Shay Levy
6b0c7a2dd4 Fix filesize doing IO in event loop (#72038) 2022-05-18 12:14:34 -07:00
J. Nick Koston
d34d3baa07 Include initial state in history_stats count (#71952) 2022-05-18 12:14:33 -07:00
Simone Chemelli
6155a64222 Properly handle Shelly gen2 device disconnect (#71937) 2022-05-18 12:14:32 -07:00
epenet
a0d1c5d1e6 Suppress Upnp error in SamsungTV resubscribe (#71925)
* Suppress Upnp error in SamsungTV resubscribe

* Supress UpnpCommunicationError instead

* Log resubscribe errors

* Add tests

* Add exc_info
2022-05-18 12:14:31 -07:00
Maciej Bieniek
ce39461810 Revert changing pysnmp to pysnmplib (#71901) 2022-05-18 12:14:30 -07:00
RadekHvizdos
81f9cc40dd Add missing Shelly Cover sensors bugfix (#71831)
Switching Shelly Plus 2PM from switch to cover mode results in missing sensors for Power, Voltage, Energy and Temperature.

These parameters are still available in the API, but need to be accessed via "cover" key instead of "switch" key.

This change adds the missing sensors.
2022-05-18 12:14:29 -07:00
Christopher Bailey
5f3c7f11d8 Fix handling package detection for latest UniFi Protect beta (#71821)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-18 12:14:29 -07:00
Ethan Madden
2448661371 Fix VeSync air_quality fan attribute (#71771)
* Refactor attribute inclusion for VeSync fans.

A recent change to pyvesync (introduced in 2.2) changed `air_quality` to
refer to air quality as an integer representation of perceived air
quality rather than a direct reading of the PM2.5 sensor. With 2.3 the
PM2.5 sensor access was restored as `air_quality_value`. Unfortunately,
`air_quality_value` was not added as an attribute on the fan object, and
rather only exists in the `details` dictionary on the fan object.

* Update homeassistant/components/vesync/fan.py

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

* Rename `air_quality_value` attribute to `pm25`

This should make it more clear what the attribute actually represents

* `air_quality` attribute reports `air_quality_value`

This restores previous behavior for this integration to what it was
before the `pyvesync==2.02` upgrade, using the `air_quality` attribute
to report pm2.5 concentrations (formerly `air_quality`) rather the
vague measurement now reported by `air_quality`.

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-05-18 12:14:28 -07:00
rappenze
107615ebef Limit parallel requests in fibaro light (#71762) 2022-05-18 12:14:27 -07:00
Avi Miller
5fbc4b8dba Remove LIFX bulb discovery from the inflight list if it fails to connect (#71673)
Remove the bulb discovery from the inflight list if it fails to connect

Signed-off-by: Avi Miller <me@dje.li>
2022-05-18 12:14:26 -07:00
Simone Chemelli
a3bd911ce3 Warn user if "model" key is missing from Shelly firmware (#71612)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-18 12:14:25 -07:00
Michael
5deb78a0dd Refresh camera stream source of Synology DSM connected cameras (#70938)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-05-18 12:14:02 -07:00
epenet
99941b1c32 Warn on use of deprecated async_get_registry (#72088)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-18 12:04:06 -07:00
epenet
349347cade Cleanup unused import in SamsungTV (#72102) 2022-05-18 21:04:42 +03:00