Commit Graph
55774 Commits
Author SHA1 Message Date
Kryštof KorbandGitHub 21d96e00a2 Use better icon for system monitor IP sensor (#81779) 2022-11-09 10:51:28 +01:00
Aarni KoskelaandGitHub 44e4b8c676 Omit native_unit_of_measurement=None (#81844) 2022-11-09 10:48:37 +01:00
Aarni KoskelaandGitHub 059623c6bf Remove vestigial move.yml (#81557) 2022-11-09 09:47:10 +01:00
epenetandGitHub 9f691ab359 Revert "Fix coordinator TypeVar definition (#81298)" (#81834) 2022-11-09 09:03:59 +01:00
J. Nick KostonandGitHub ad992f0a86 Fix switchbot not becoming available again after unavailable (#81822)
* Fix switchbot not becoming available again after unavailable

If the advertisment was the same and we were previously
marked as unavailable we would not mark the device as
available again until the advertisment changed. For lights
there is a counter but for the bots there is no counter
which means the bots would show unavailable even though
they were available again

* naming

* naming
2022-11-09 08:09:06 +01:00
GitHub Action dcf68d768e [ci skip] Translation update 2022-11-09 00:27:20 +00:00
Joakim PlateandGitHub 58c691be1e Update nibe to 1.2.1 with support for 2120 pumps (#81824)
Update nibe to 1.2.1
2022-11-09 01:20:55 +01:00
Jan BouwhuisandGitHub 12d76a8a4f Address late review of config entry wait for states tests (#81801)
* Late review on tests #81771

* Clean-up duplicate assignment
2022-11-08 22:14:17 +01:00
6021cedb09 deconz: Use partition instead of split where possible (#81804)
* deconz: Use partition instead of split where possible

With a smattering of code deduplication

Split out of #81493

* Update homeassistant/components/deconz/util.py

Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>

Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2022-11-08 20:54:01 +01:00
Jan BouwhuisandGitHub b364ef98a0 Use _attr_ for MQTT vacuum (#81534)
* Use `_attr_` for MQTT vacuum

* Remove unneeded properties

* Follow-up comment

* Remove default value
2022-11-08 18:48:08 +01:00
Jan BouwhuisandGitHub 3cc9ecf1dc Implement ConfigEntry async_wait_for_states (#81771)
* Implement async_wait_for_states

* stale docstr, remove hints

* Assert return states for tests
2022-11-08 17:18:40 +01:00
Jan BouwhuisandGitHub 7d768dc3a6 Improve MQTT type hints / refactor part 7 - trigger (#81019)
* Improve typing trigger

* Improve hints on templates

* Use new sentinel for template

* Follow-up comment
2022-11-08 17:02:06 +01:00
J. Nick KostonandGitHub 2cb58b8189 Fix off by one in HomeKit iid allocator (#81793) 2022-11-08 09:20:03 -06:00
Aarni KoskelaandGitHub 88a7c76739 Fix late-import paho (#81791)
fix: late-import MQTTMessage

`paho-mqtt` is not listed in main requirements and is imported early by `conftest`.

Import it late to avoid an ImportError.

Split out from #81678.
2022-11-08 16:16:31 +01:00
5040b94330 Retry tibber setup (#81785)
* Handle integration setup retries

* Fix black error

* Update to falsy check

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

* Remove duplicated log

* Update exception message

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-11-08 16:09:58 +01:00
Aaron BachandGitHub 45be2a260e Add re-auth flow for OpenUV (#79691) 2022-11-08 07:41:09 -07:00
Bram KragtenandGitHub 014c2d487d Update frontend to 20221108.0 (#81787) 2022-11-08 15:00:30 +01:00
Malte FrankenandGitHub 3edaef63b0 Add integration_type to ign_sismologia (#81729)
define integration type
2022-11-08 14:47:00 +01:00
Marc MuellerandGitHub 0c8eeaa643 Update mypy to 0.990 (#81783)
* Update mypy to 0.990

* Remove type ignore - overriding attr with property (13475)

* Remove type ignores - hasattr (13544)

* Adjust type ignore - assignment (13549)

* New error code - type-abstract (13785)

* Disable annotation-unchecked (13851)
2022-11-08 14:41:39 +01:00
chpegoandGitHub 2082026ff5 Fix Fully Kiosk start application service field (#81738)
Fix attributes services to start_application
2022-11-08 14:39:53 +01:00
J. Nick KostonandGitHub b7533aff48 Replace led-ble util with bluetooth-data-tools (#81093) 2022-11-08 07:26:16 -06:00
epenetandGitHub 9b0b8ae9c0 Add short-hand attributes to vacuum (#81782)
Add attributes to vacuum
2022-11-08 13:58:47 +01:00
Jan BouwhuisandGitHub 4293c88fb6 Improve MQTT type hints part 6 (#81001)
* Improve typing siren

* Improve typing switch

* Set siren type hints at class level

* Set switch type hints at class level

* Follow up comment

* Improve hints on siren templates

* Another cleanup for siren

* Follow up comment

* Follow up comment
2022-11-08 13:11:45 +01:00
47dba6f6bc Improve MQTT type hints part 5 (#80979)
* Improve typing scene

* Improve typing select

* Improve typing sensor

* move expire_after - and class level attrs

* Follow up comment

* Solve type confict

* Remove stale sentinel const

* Update homeassistant/components/mqtt/sensor.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Make _expire_after a class attribute

* Code styling

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-11-08 12:55:41 +01:00
Joakim SørensenandGitHub d6c10cd887 Bump pycfdns from 1.2.2 to 2.0.0 (#81776) 2022-11-08 12:28:36 +01:00
Allen PorterandGitHub dfab3b2651 Partially revert google local sync for search cases (#81761)
fixes undefined
2022-11-08 11:21:13 +01:00
J. Nick KostonandGitHub 4d1fa42a3c Use more efficient async_progress_by_handler call in async_start_reauth (#81757) 2022-11-08 11:20:54 +01:00
epenetandGitHub c585817e67 Adjust REST schema validation (#81723)
fixes undefined
2022-11-08 11:18:58 +01:00
J. Nick KostonandGitHub 53c1c2eb56 Fix homekit bridge iid allocations (#81613)
fixes undefined
2022-11-08 11:15:16 +01:00
J. Nick KostonandGitHub 11034f56dc Ensure HomeKit temperature controls appear before fan controls on thermostat accessories (#81586) 2022-11-08 11:04:24 +01:00
J. Nick KostonandGitHub 462e2a8ea1 Fix HomeKit reset accessory procedure (#81573)
fixes https://github.com/home-assistant/core/issues/81571
2022-11-08 11:03:37 +01:00
Steven LoomanandGitHub 274049cc8e Fix ignored upnp discoveries not being matched when device changes its unique identifier (#81240)
Fixes https://github.com/home-assistant/core/issues/78454
fixes undefined
2022-11-08 11:02:53 +01:00
fc0e0bf099 Support for direct modbus connection to nibe pumps (#80557)
* Initial support for modbus

* Complete test coverage of config flow

* Bump to 1.1.0 with corrected numbers

* Handle missing mapping for reset-alarm

* Fixup type checks after library bump

* Adjust coil number

* Move word_swap to nibegw

* Adjust to 1.1.2 with fixes

* Add series property

* Add S series models

* Correct test for invalid host

* Apply suggestions from code review

Co-authored-by: J. Nick Koston <nick@koston.org>

* Move some things into library

* Adjust strings somewhat

* Correct black

* Correct test after validation change

Co-authored-by: J. Nick Koston <nick@koston.org>
2022-11-08 10:49:47 +01:00
epenetandGitHub 318122fe53 Fix coordinator TypeVar definition (#81298)
* Adjust coordinator TypeVar definition

* Adjust again
2022-11-08 10:38:29 +01:00
d66d079330 Use _attr_ for MQTT light (#81465)
* Schema basic

* Schema json

* Schema template

* add color_mode - follow up comments

* Fix regression

* Follow up comments 2

* Fix mypy errors

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

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-11-08 10:16:05 +01:00
Jan BouwhuisandGitHub 8c0a7b9d7f Add type hints for MQTT tag (#81495)
* Improve typing tag

* Additional type hints for tag platform

* Follow up comment tag

* Folow up comments

* Revert comment removal
2022-11-08 09:24:16 +01:00
88faf33cb8 Improve type hints for MQTT climate (#81396)
* Improve typing climate

* Move climate type hints to class level

* Apply suggestions from code review

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* remove stale command after applying suggestions

* cleanup

* Update homeassistant/components/mqtt/climate.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-11-08 09:17:03 +01:00
Robert SvenssonandGitHub 23bed25e52 Remove old UniFi POE client implementation (#81749)
Remove all references to POE client implementation
2022-11-08 07:48:54 +01:00
Robert SvenssonandGitHub 3444d2af1a UniFi switch entity description (#81680)
* Consolidate switch entities to one class

* Move turn on/off into UnifiSwitchEntity

* Add event subscription
Remove storing entity for everything but legacy poe switch

* Only one entity class

* Improve generics naming

* Rename loader to description

* Improve control_fn naming

* Move wrongfully placed method that should only react to dpi apps being emptied

* Improve different methods

* Minor renaming and sorting

* Mark callbacks properly
2022-11-08 07:38:31 +01:00
Erik MontnemeryandGitHub c3d4a9cd99 Create repairs issue if an outdated currency code is configured (#81717)
* Create repairs issue if an outdated currency code is configured

* Add script for updating list of currencies

* Use black for formatting

* Move currency codes to a separate file

* Address review comments
2022-11-08 07:21:09 +01:00
Jon GilmoreandGitHub 0ce301ae7b Remove JonGilmore from lutron codeowners (#81727) 2022-11-07 21:22:03 -06:00
J. Nick KostonandGitHub c2c26e2608 Fix check for duplicate config entry reauth when context is passed or augmented (#81753)
fixes https://github.com/home-assistant/core/issues/77578
2022-11-07 21:19:57 -06:00
GitHub Action 785cf0e29c [ci skip] Translation update 2022-11-08 00:26:39 +00:00
55cad465b2 Add support for AEH with adjustable temperature in Overkiz integration (#72790)
* Import and clean from ha-tahoma

* Fix wrong search and replace

* Clean code

* Use elif

* Sort import

* Fix imports

* Update homeassistant/components/overkiz/climate_entities/atlantic_electrical_heater_with_adjustable_temperature_setpoint.py

Co-authored-by: Mick Vleeshouwer <mick@imick.nl>

* Fix import

* Remove cast

* Remove useless constructor

* Use constant

* Remove now useless conditions

Co-authored-by: Mick Vleeshouwer <mick@imick.nl>
2022-11-08 00:07:02 +01:00
J. Nick KostonandGitHub 5c38321c4f Ignore unspecified addresses from zeroconf (#81620) 2022-11-07 15:50:45 -06:00
Raman GuptaandGitHub 7f23ab9d86 Add measurement state class to eight_sleep sensors (#81589)
* Add measurement state class to eight_sleep sensors

* tweaks
2022-11-07 21:46:41 +01:00
Robert HillisandGitHub bc146a09db Add integration_type for some integrations (#81499) 2022-11-07 19:39:29 +01:00
Joakim SørensenandGitHub e7a616b8ff Use location info helper for IP in Cloudflare DNS (#81714)
* Use location info helper for IP in Cloudflare DNS

* simplify

* Blow up

* coverage
2022-11-07 19:31:47 +01:00
Christopher BaileyandGitHub 1b9c2dfb68 Bump pyunifiprotect to 4.4.1 (#81732) 2022-11-07 19:10:42 +02:00
Jan BouwhuisandGitHub b9c47ed3c3 Align MQTT config entry setup strings with option flow (#81616) 2022-11-07 10:45:27 -06:00