Commit Graph

42340 Commits (3379e144177cd3cca02fda5360177d66f6aa84e3)

Author SHA1 Message Date
Erik Montnemery 51e6d49451
Adapt homekit to color temperatures in K (#79713) 2022-10-06 09:20:10 -10:00
Erik Montnemery aa5575ba65
Only validate sensors in sensor.recorder.validate_statistics (#79749) 2022-10-06 21:17:46 +02:00
Erik Montnemery 96a8beb29f
Tweak comment in LightEntity (#79750) 2022-10-06 21:17:24 +02:00
Glenn Waters d3fee8aad9
Add supported brands to UPB integration (#79619) 2022-10-06 20:33:37 +02:00
Vincent Knoop Pathuis 28df576e51
Update ultraheat api to 0.5.0 (#79666) 2022-10-06 20:06:52 +02:00
puddly 2dab9073fe
ZHA radio migration: reset the old adapter (#79663) 2022-10-06 14:02:24 -04:00
Erik Montnemery 0a59d37e62
Correct how unit used for statistics is determined (#79725) 2022-10-06 14:01:54 -04:00
Bram Kragten e2c1a36e24
Update frontend to 20221006.0 (#79745) 2022-10-06 14:01:18 -04:00
Lars 61deb54ec8
Fix max_color_temp_kelvin (#79738)
fix max_color_temp_kelvin
2022-10-06 19:21:57 +02:00
Chris Talkington 00029ca344
Bump pyipp to 0.12.0 (#79687)
* update pyipp to 0.12.0

* Update requirements_all.txt

* Update requirements_test_all.txt
2022-10-06 17:11:38 +02:00
Matthew Simpson df7b8f419e
Bump btsmarthub_devicelist to 0.2.3 (#79705)
* Bump btsmarthub_devicelist

This PR bumps the btsmarthub_devicelist version to correct an issue
experienced by a recent firmware upgrade to the SmartHub2.

* Bump btsmarthub_devicelist to 0.2.3

This version bump fixes an issue where BT SmartHub2 devices cannot be
correctly autodetected. The current workaround is to specifiy it
manually, which isn't great UX (and did previously work until a recent
firmware upgrade).

I've also taken the opportunity to reassign ownership of the component
to myself as @jxwolstenholme no longer has a SmartHub so cannot do
manual testing and also has no need to use the component anymore.
2022-10-06 17:01:27 +02:00
epenet aa0bb9c3d2
Improve precision in pressure conversion (#79362)
* Improve precision in pressure conversion

* Use _STANDARD_GRAVITY

* Add again pytest.approx
2022-10-06 12:48:31 +02:00
Erik Montnemery 47d0598e75
Use Kelvin as the preferred color temperature unit (#79591)
* Use Kelvin as the preferred white temperature unit

* Update homekit

* Adjust tests
2022-10-06 12:22:39 +02:00
Tom Matheussen 1e39f42df5
Add default ports for Nibe heatpump (#79695) 2022-10-06 11:55:17 +02:00
Shay Levy 93b2a6cc26
Refactor Shelly to use data class for ConfigEntry data (#79671)
* Refactor Shelly to use data class for ConfigEntry data

* Apply suggestions from code review

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

* Update homeassistant/components/shelly/__init__.py

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

* Optimize usage of shelly_entry_data in _async_setup_block_entry

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-10-06 10:10:58 +03:00
J. Nick Koston 9b4c7f5dc5
Bump dbus-fast to 1.26.0 (#79684) 2022-10-05 19:17:10 -10:00
Shay Levy ce6ccffd9c
Fix Switcher breeze fan mode and swing control (#79676) 2022-10-06 08:10:04 +03:00
J. Nick Koston c798723c27
Fix bluetooth diagnostics on macos (#79680)
* Fix bluetooth diagnostics on macos

The pyobjc objects cannot be pickled which cases dataclasses
asdict to raise an exception when trying to do the deepcopy

We now implement our own as_dict to avoid this problem

* add cover
2022-10-06 04:32:29 +02:00
GitHub Action 558b327928 [ci skip] Translation update 2022-10-06 00:31:54 +00:00
Yuval Aboulafia 5674295b3c
Add clicksend to strict typing (#79544)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-10-05 22:18:41 +02:00
Bram Kragten 41d2ab5b37
Update frontend to 20221005.0 (#79656) 2022-10-05 17:38:32 +02:00
Maikel Punie 0eb1101de8
Velbus split of entity in its own file (#79653)
* Velbus split of entity in its own file

* Update coveragerc
2022-10-05 17:03:23 +02:00
Erik Montnemery 5d7756885b
Normalize to kWh when handling WS energy/fossil_energy_consumption (#79649)
* Normalize to kWh when handling WS energy/fossil_energy_consumption

* Improve test
2022-10-05 16:27:08 +02:00
Robert Hillis 312770dbac
Change Lidarr device name to entry title (#79630) 2022-10-05 15:57:36 +03:00
Shay Levy 22c68b95bf
Refactor Shelly wrapper to coordinator (#79628) 2022-10-05 14:39:58 +02:00
Jafar Atili 4d3d22320f
Enhanced switchbee device naming (#79641) 2022-10-05 14:19:03 +03:00
Erik Montnemery 59d9d3de69
Add at_started helper (#79577) 2022-10-05 12:24:51 +02:00
Maciej Bieniek 9dd9147343
Use HA `uuid` as `client_id` in BraviaTV (#79618)
* Use uuid as clientid/nickname

* Fixes after rebase

* Move gen_instance_ids() to utils

* Store client_id and nickname in config_entry

* Update tests

* Clean names

* Rename consts
2022-10-05 11:24:52 +03:00
Robert Hillis 33bdc67a61
Remove superfluous strings from Lidarr (#79631) 2022-10-05 11:17:13 +03:00
Erik Montnemery 18033532ca
Fix search throwing on templated services (#79637) 2022-10-05 10:59:18 +03:00
Jafar Atili 92c9ddf3e3
Add supported brands for switchbee (#79595) 2022-10-05 09:25:46 +02:00
Tobias Sauerwein 905950f341
Netatmo add supported brands (#79563) 2022-10-05 08:58:24 +02:00
kpine bcbce6f159
Allow picking multiple entity targets for zwave_js.refresh_value service (#79634)
Allow selection of multiple entities for zwave_js.refresh_value service
2022-10-05 08:30:34 +02:00
Mike Degatano 416c10a793
Supervisor update entity auto update from api (#79611)
* Supervisor update entity auto update from api

* Update api mocks in tests
2022-10-05 08:27:56 +02:00
Robert Svensson 214c2934de
Bump UniFi dependency to v37 (#79617) 2022-10-05 08:20:37 +02:00
GitHub Action 8d28da83ca [ci skip] Translation update 2022-10-05 00:36:50 +00:00
epenet f3e05534ee
Use VOLUME device_class in flume (#79585) 2022-10-04 12:49:54 -10:00
puddly 253f6616cf
Bump ZHA dependencies (#79623) 2022-10-04 17:17:48 -04:00
Shay Levy 8faecae34d
Shelly - move coordinators to coordinator.py (#79616) 2022-10-04 22:29:07 +03:00
J. Nick Koston 89c4bf6536
Bump dbus-fast to 1.24.0 (#79608) 2022-10-04 08:55:28 -10:00
Mike Degatano 051374d73e
Handle state is None in InfluxDB (#79609) 2022-10-04 21:43:57 +03:00
Bram Kragten 9c97ebbcfe
Update frontend to 20221004.0 (#79602) 2022-10-04 11:51:12 -04:00
Paulus Schoutsen abc80d8245
Add a couple more brands (#79600) 2022-10-04 11:45:40 -04:00
HarvsG dd1463da28
Refactor bayesian observations using dataclass (#79590)
* refactor

* remove some changes

* remove typehint

* improve codestyle

* move docstring to comment

* < 88 chars

* avoid short var names

* more readable

* fix rename

* Update homeassistant/components/bayesian/helpers.py

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

* Update homeassistant/components/bayesian/binary_sensor.py

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

* Update homeassistant/components/bayesian/binary_sensor.py

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

* no intermediate

* comment why set before list

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-10-04 17:16:39 +02:00
Raman Gupta 27413cee19
Bump zwave_js lib to 0.43.0 and fix multi-file firmware updates (#79342) 2022-10-04 10:40:49 -04:00
Franck Nijhof 2b27cfdabb
Set system & entity integration types (#79593) 2022-10-04 10:36:42 -04:00
Franck Nijhof 74a8472eed
Collect all brands (#79579) 2022-10-04 09:24:55 -04:00
epenet 2fd62b571d
Add docstring to US volume constants (#79582)
* Add docstring to US volume constants

* A blank line separation
2022-10-04 14:47:57 +02:00
Jafar Atili d0f1cba4ea
Fix Thermostat not showing up in SwitchBee integration (#79592)
Fixed Thermostat not showing up in SwitchBee
2022-10-04 14:47:30 +02:00
Nathan Broadbent 1907b87666
Add unique ID to fitbit (#79587)
* Set unique ID for fitbit sensors, including the user ID

* Remove fitbit_ from unique ids (see: https://developers.home-assistant.io/docs/entity_registry_index/#unique-id)

* change fitbit user_profile type to dict[str, Any]

* Fitbit: define a default unique ID, and add battery info if present

* No need for trailing _battery in unique ID, since it already contains "devices/battery_"
2022-10-04 14:28:00 +02:00
Nathan Broadbent 9d2ba7c008
Use constant in fitbit messages (#79586)
Use FITBIT_CONFIG_FILE constant in configurator messages and buttons
2022-10-04 12:13:40 +02:00
kpine c040a7a152
Set zwave_js climate entity target temp attributes based on current mode (#79575)
* Report temperature correctly

* DRY

* Add test assertions

* Don't catch TypeError (revert)
2022-10-04 11:54:13 +02:00
MrAliFu 8d3e3ee6e9
Add new Islamic prayer times calculation method (#79278)
* Adding new calculation method

Adding calculation method Turkey.
islamic_prayer_times 0.0.6 already have turkey as a calc_method, bringing that into here.

* Update const.py

Updated with the feedback

* Importing PrayerTimesCalculator

* Update const.py
2022-10-04 06:36:06 +02:00
J. Nick Koston a3989b90fe
Bump dbus-fast to 1.23.0 (#79570) 2022-10-03 16:44:54 -10:00
Erik Montnemery e93deaa8aa
Simplify long term statistics by always supporting unit conversion (#79557) 2022-10-03 21:50:05 -04:00
Nathan Spencer eda6f13f8a
Remove repairs issue per PR review request (#79561) 2022-10-03 21:17:47 -04:00
J. Nick Koston 2768b2445a
Remove call to deprecated bleak register_detection_callback (#79558) 2022-10-03 21:15:09 -04:00
Erik Montnemery 92ca95ca81
Fix preserving long term statistics when entity_id is changed (#79556) 2022-10-03 21:13:48 -04:00
Allen Porter 90637a721c
Add option to set a stun server for RTSPtoWebRTC (#72574) 2022-10-03 21:10:28 -04:00
puddly 3c07d40fe7
Bump ZHA dependencies (#79565)
Bump all ZHA dependencies
2022-10-03 20:58:53 -04:00
GitHub Action 7eb101b0c7 [ci skip] Translation update 2022-10-04 00:37:13 +00:00
Tobias Sauerwein 27effc93ad
Netatmo bump pyatmo to 7.1.0 (#79562)
Bump pyatmo to 7.1.0
2022-10-04 01:45:31 +03:00
Yuval Aboulafia d08f7f9526
Add clickatell to strict typing (#79497)
* type clickatell

* follow review
2022-10-04 01:02:20 +03:00
mbo18 cfda36ef36
Use device_class duration for NUT sensors (#79353) 2022-10-03 10:12:30 -10:00
Bram Kragten bbaac01da5
Update frontend to 20221003.0 (#79551) 2022-10-03 21:45:28 +02:00
Erik Montnemery a2e3978d53
Don't normalize units of long term statistics (#79320)
* Don't normalize units of long term statistics

* Update statistics.py
2022-10-03 21:42:44 +02:00
Jafar Atili e8650dd4b7
Add climate platform to switchbee integration (#78385)
* Added Climate platform to switchbee integration

* uploaded missing file

* Applied code review feedback from other PR

* Addressed comments from previous PRs

* fixed misspell error

* fixed mistake in the code

* added type hints

* fixes

* fixes

* Update homeassistant/components/switchbee/climate.py

Co-authored-by: Shay Levy <levyshay1@gmail.com>

* Update homeassistant/components/switchbee/entity.py

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

* Update homeassistant/components/switchbee/climate.py

Co-authored-by: Shay Levy <levyshay1@gmail.com>

* Update homeassistant/components/switchbee/climate.py

Co-authored-by: Shay Levy <levyshay1@gmail.com>

* Update homeassistant/components/switchbee/climate.py

Co-authored-by: Shay Levy <levyshay1@gmail.com>

* Update homeassistant/components/switchbee/climate.py

Co-authored-by: Shay Levy <levyshay1@gmail.com>

* Update homeassistant/components/switchbee/climate.py

Co-authored-by: Shay Levy <levyshay1@gmail.com>

* Update homeassistant/components/switchbee/climate.py

Co-authored-by: Shay Levy <levyshay1@gmail.com>

* fixes

* Update homeassistant/components/switchbee/climate.py

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

* fixes

* Update homeassistant/components/switchbee/climate.py

* Update homeassistant/components/switchbee/climate.py

Co-authored-by: Shay Levy <levyshay1@gmail.com>

* more fixes

Co-authored-by: Shay Levy <levyshay1@gmail.com>
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-10-03 21:34:02 +03:00
Raman Gupta 9b7eb6b5a1
Reduce coverage gaps for zwave_js (#79520)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-10-03 20:24:11 +02:00
Petro31 f3007b22c4
Allow setting set_percentage and set_preset_mode of template fan without turning on (#75656)
* decouple set_percentage and set_preset_mode from entity state

* correct set_percent self._state logic

* Add tests

* remove _VALUD_STATES

* decouple percent and preset_mode
2022-10-03 20:22:05 +02:00
Ben Randall 55b036ec5e
Improve device_automation trigger validation (#75044)
* improve device_automation trigger validation

Validates the trigger configuration against the device_trigger schema before trying to access any of the properties in order to provide better error messages.
Updates the error message to include an explicit indication that the error is coming from a trigger configuration.  The inner error message from the validator can be accessed by viewing the stack trace.
Add test case for trigger missing domain.

Make action and condition validation consistent with trigger.  This is not strictly necessary, but should be helpful for certain use cases that bypass some of the outer validation.

Removed redundant schema elements from humidifier device_trigger.

**Blueprint with missing `domain`**
```
2022-07-12 06:02:18.351 ERROR (MainThread) [homeassistant.setup] Error during setup of component automation
Traceback (most recent call last):
  File "/workspaces/core/homeassistant/setup.py", line 235, in _async_setup_component
    result = await task
  File "/workspaces/core/homeassistant/components/automation/__init__.py", line 241, in async_setup
    if not await _async_process_config(hass, config, component):
  File "/workspaces/core/homeassistant/components/automation/__init__.py", line 648, in _async_process_config
    await async_validate_config_item(hass, raw_config),
  File "/workspaces/core/homeassistant/components/automation/config.py", line 74, in async_validate_config_item
    config[CONF_TRIGGER] = await async_validate_trigger_config(
  File "/workspaces/core/homeassistant/helpers/trigger.py", line 59, in async_validate_trigger_config
    conf = await platform.async_validate_trigger_config(hass, conf)
  File "/workspaces/core/homeassistant/components/device_automation/trigger.py", line 67, in async_validate_trigger_config
    hass, config[CONF_DOMAIN], DeviceAutomationType.TRIGGER
KeyError: 'domain'
```

**Blueprint with missing `property` (specific to zwave_js event schema)**
```
2022-07-12 06:09:54.206 ERROR (MainThread) [homeassistant.components.automation] Blueprint Missing Property generated invalid automation with inputs OrderedDict([('control_switch', '498be56d796836a67406e9ad373d23db')]): required key not provided @ data['property']. Got None
```

**Blueprint with missing `domain`**
```
2022-07-12 06:12:16.080 ERROR (MainThread) [homeassistant.components.automation] Blueprint Missing Domain generated invalid automation with inputs OrderedDict([('control_switch', '498be56d796836a67406e9ad373d23db')]): invalid trigger configuration: required key not provided @ data['domain']. Got <homeassistant.components.blueprint.models.BlueprintInputs object at 0x7f581e097820>
```

**Blueprint with missing `property` (specific to zwave_js event schema)**
```
2022-07-12 06:12:16.680 ERROR (MainThread) [homeassistant.components.automation] Blueprint Missing Property generated invalid automation with inputs OrderedDict([('control_switch', '498be56d796836a67406e9ad373d23db')]): invalid trigger configuration: required key not provided @ data['property']. Got <homeassistant.components.blueprint.models.BlueprintInputs object at 0x7f581c0dc9d0>
```

* Revert humifidier TRIGGER_SCHEMA change.
2022-10-03 16:42:57 +02:00
Maikel Punie 40bdcc3ea7
Bump velbusaio to 2022.10.2 (#79537) 2022-10-03 16:17:08 +02:00
J. Nick Koston aa3aa91358
Bump dbus-fast to 1.22.0 (#79527)
Performance improvements
https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.21.17...v1.22.0
2022-10-03 15:11:51 +02:00
Maikel Punie cb909b4b05
Bumb velbusaio to 2022.10.1 (#79471) 2022-10-03 11:44:20 +02:00
Erik Montnemery 0fdb7052e9
Add comment in recorder about dropping column (#79523)
Add comment in recorder
2022-10-03 11:40:11 +02:00
Hans Oischinger 125c037def
Address late review of ViCare (#79458)
Runn blocking I/O of button entity creation in async_add_executor_job
2022-10-03 11:10:25 +02:00
Robert Svensson c05d3c10db
Address late comment to deCONZ climate (#79485)
Fix late comment to deCONZ climate #59989
2022-10-03 11:06:13 +02:00
epenet 825f9502ad
Align temperature conversion with other converters (#79521)
* Align temperature conversion with other converters

* Add comments and docstring

* Align tests
2022-10-03 10:09:55 +02:00
ehendrix23 47b40e1e61
Add optional default value to average template function/filter (#77499)
* Return None on empty list

* Updated to use default value

* Update comment.
2022-10-03 10:07:19 +02:00
Paulus Schoutsen 61f0d0ea15
Update Nest string (#79516) 2022-10-02 18:51:46 -07:00
Nyro 0431575199
Fix overkiz entity name (#79229) 2022-10-02 21:22:20 -04:00
Michael d7be3c8780
Set Synology DSM update entity to unavailable in case no data from api gathered (#79508) 2022-10-02 21:19:37 -04:00
IceBotYT d6a6d0d754
Fix LaCrosse View not updating (#79474) 2022-10-02 21:14:02 -04:00
J. Nick Koston da960f6ed4
Bump bluetooth dependencies (#79514) 2022-10-02 21:12:14 -04:00
Michael 790eb9e72d
Remove deprecated update binary sensor from Synology DSM (#79509) 2022-10-02 21:11:45 -04:00
Jesse Hills 8676012204
Bump aioesphomeapi to 11.1.0 (#79515) 2022-10-02 21:11:18 -04:00
GitHub Action 12358f2446 [ci skip] Translation update 2022-10-03 00:31:05 +00:00
Raman Gupta 3a8282d0c5
Improve zwave_js service error (#79504) 2022-10-02 23:24:06 +02:00
Maciej Bieniek 3b794038b1
Add reauth flow to BraviaTV integration (#79405)
* Raise ConfigEntryAuthFailed

* Add reauth flow

* Add tests

* Patch pair() method to avoid IO

* Remove unused errors dict
2022-10-02 13:07:57 -07:00
Bram Kragten f28e3fb46c
Update frontend to 20221002.0 (#79491) 2022-10-02 21:30:54 +02:00
Robert Svensson 14f60dc871
Fix missing string message in UniFi (#79487) 2022-10-02 14:50:01 -04:00
zbeky 81b940ec17
Add EVOLVEO Heat M30v2 TRV (#79462) 2022-10-02 14:34:53 -04:00
TheJulianJES d58e16b990
Fix empty default ZHA configuration (#79475)
* Also add 0 as a default for transition in const.py

This is the same default transition (none) that is used in ZHA's light.py

* Send default values for unconfigured options in ZHA's configuration API

* Remove options that match defaults values before saving
2022-10-02 14:34:15 -04:00
Hung Nguyen 069818940e
Skip parsing Flume sensors without location (#79456) 2022-10-02 12:47:07 -04:00
J. Nick Koston 653620345c
Bump dbus-fast to 1.20.0 (#79465) 2022-10-02 12:46:01 -04:00
Maximilian 7aacdec8e1
Address late review of nina (#79467)
* Address review

* Remove unused attribute
2022-10-02 08:57:32 -07:00
David F. Mulcahey 547a63e314
Remove unnecessary config entity from ZHA (#79472) 2022-10-02 11:07:19 -04:00
Ryan Fleming 2ea9732419
Support reauth for octoprint (#77213)
* Add reauth flow to octoprint

* Add unit tests around octoprint reauth

* Add missing strings

* Fix unit test mocks
2022-10-02 08:08:45 +02:00
Allen Porter 28809fc7fd
Remove dead code code in calendar (#79450) 2022-10-01 23:07:27 -07:00
Ryan Fleming 229e387a1d
Bump pyoctoprintapi to version 1.9 (#79449)
Bump to version 1.9
2022-10-01 22:05:53 -07:00
Marc Mueller 89d0b434bc
Use explicit return value in azure_event_hub (#79315)
* Use explicit return value in azure_event_hub

* Use abstractmethod
2022-10-01 21:24:25 -07:00
Maximilian 7ae942a62b
Fix nina warning state (#76354)
* Fix warning state

* Improve data handling

* Remove duplicate code
2022-10-01 21:22:18 -07:00
Avi Miller 205ce2bac5
Refactor LIFX multizone devices to use extended messages (#79444) 2022-10-01 18:21:48 -10:00
Jevgeni Kiski f95b8ccc20
Improve vallox tests and code quality (#75787)
code quality improvements
2022-10-01 21:13:15 -07:00
Rami Mosleh 38a680c3eb
Add reauthenticaion to `mikrotik` (#74454) 2022-10-01 20:37:24 -07:00
Allen Porter 7b8b73f826
Update nest climate to avoid duplicate set mode commands (#79445) 2022-10-01 21:59:10 -04:00
J. Nick Koston 8a73795f50
Bump bluetooth-adapters to 0.5.3 (#79442) 2022-10-01 21:27:44 -04:00
Tobias Sauerwein 3e411935bb
Fix Netatmo scope issue with HA cloud (#79437)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-10-01 21:11:54 -04:00
J. Nick Koston ebc2a751d2
Bump ibeacon-ble to 0.7.3 (#79443) 2022-10-01 20:48:09 -04:00
J. Nick Koston d9191cf2f2
Bump dbus-fast to 1.18.0 (#79440)
Changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.17.0...v1.18.0
2022-10-01 14:45:01 -10:00
Michael a3cd03b70b
Fix checking of upgrade API availability during setup of Synology DSM integration (#79435) 2022-10-01 20:43:15 -04:00
J. Nick Koston dac60990ee
Ensure bluetooth disconnect callback fires if esphome config entry is reloaded (#79389) 2022-10-01 20:42:54 -04:00
Allen Porter d03553bbf0
Address Google Sheets PR feedback (#78889) 2022-10-01 20:42:11 -04:00
GitHub Action 13c8d22baf [ci skip] Translation update 2022-10-02 00:37:00 +00:00
J. Nick Koston 5055d3ff4b
Enable delete device support for iBeacon (#79339) 2022-10-01 14:17:45 -10:00
kingy444 50952f8a1c
Powerview bump aiopvapi to 2.0.2 (#79274) 2022-10-01 14:16:16 -10:00
Matrix 944d704011
Fix mqtt reconnect fail when token expired (#79428)
* fix mqtt reconnect fail when token expired

* suggest change
2022-10-02 01:56:36 +03:00
Steven Looman 083db97476
Sort motioneye media items in media browser (#79408)
* Sort media

* KEY_MEDIA_SORT_ATTR should be in const

* Changes after review
2022-10-02 00:36:03 +02:00
Shay Levy f64a4f4a95
Bump aiowebostv to 0.2.1 (#79423) 2022-10-02 00:32:27 +02:00
Garrett 9058b5b9c3
Update sensors for Subaru integration (#66996)
* Update sensor.py

* Change "EV Time to Fully Charged" type to datetime object (HA 2022.2)

* Validate types before accessing dict entries

* Test handling of invalid data from Subaru

* Bump to subarulink 0.4.2

* Incorporate style suggestion

* Update sensor.py to use SensorEntity

* isort tests

* Remove SubaruSensor.current_value

* Fix isort errors

* Resolve conflict from previous PR (add locks)

* Fix linting errors in config_flow.py

* Incorporate PR review comments for sensor

* Incorporate PR review comments for sensor

* Make 3rd party library responsible for API data parsing

* Add type annotations to sensor.py

* Incorporate PR review comments

* Incorporate PR review comments

* Set _attr_has_entity_name = True for sensors
2022-10-02 00:25:49 +02:00
Hans Oischinger 35fa73eee9
vicare: Don't create unsupportedd button entites (#79425)
Button entities should only be offered when the datapoint exists on
the API.
2022-10-01 22:17:25 +03:00
Hans Oischinger 94c825cf4f
vicare: Add additional temperature sensors (#79426)
Add additional temperature sensors

New datapoints in PyVicare API
2022-10-01 20:58:57 +02:00
Erik Montnemery 2de273500e
Remove state_unit_of_measurement from metadata DB table (#79370)
* Remove state_unit_of_measurement from metadata DB table

* Adjust test
2022-10-01 18:55:00 +02:00
Shay Levy 4cfcf562b5
Bump aioswitcher to 3.0.3 (#79419) 2022-10-01 18:34:47 +02:00
Mick Vleeshouwer e7724a6593
Fix low speed cover in Overkiz integration (#79416)
Fix low speed cover
2022-10-01 19:33:41 +03:00
uvjustin 82af726e21
Fix onvif snapshot fallback (#79394)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-10-01 18:28:15 +02:00
Shay Levy f1f01429f4
Add Switcher Breeze support (#78596)
* Add switcher Breeze support

* Review comments and updates for aioswitcher
2022-10-01 19:14:55 +03:00
Jan Bouwhuis 9c9c8b324a
Ignore an '' value_template result for MQTT sensor (#79417)
Do not write state if payload is ''
2022-10-01 19:00:54 +03:00
Kevin Stillhammer 31ddf6cc31
Log config_flow errors for waze_travel_time (#79352) 2022-10-01 08:56:47 -07:00
Avi Miller 886e636565
Bump aiolifx to 0.8.6 (#79393) 2022-10-01 17:05:02 +02:00
Shay Levy 062ee75de9
Bump aioswitcher to 3.0.2 (#79399)
Bump aioswitcher to 3.0.2
2022-10-01 18:04:11 +03:00
J. Nick Koston ec8901b9af
Improve robustness of linking homekit yaml to config entries (#79386) 2022-10-01 16:44:45 +02:00
Maciej Bieniek 8ff12eacd4
Do not use AQI device class for CAQI sensor in Airly integration (#79402) 2022-10-01 16:33:11 +02:00
G Johansson 816af8573f
Fix _attr_name issue in Yale Smart Alarm (#79378)
Fix name issue
2022-10-01 09:52:07 +02:00
GitHub Action bd5ec4e198 [ci skip] Translation update 2022-10-01 00:40:08 +00:00
Marc Mueller 249922ba1b
Improve iterable typing (2) (#79296)
* Improve iterable typing (2)

* Use collection
2022-10-01 00:13:15 +02:00
Marc Mueller 3a9ecab98a
Improve iterable typing (1) (#79295) 2022-10-01 00:12:39 +02:00
Joakim Plate fbcf6cb03c
Bump fjaraskupan to 2.1.0 (#79383)
* Make sure fan turns off on 0 percentage

* Remember old percentage

* Bump fjaraskupan to 1.2.0
2022-10-01 00:01:44 +02:00
Jan-Philipp Litza 2a45738d97
Add state_class MEASUREMENT to lacrosse temperature and humidity sensors (#79379) 2022-09-30 23:37:50 +03:00
Robert Svensson 2ce837f588
Resolve late comments to deCONZ sensor (#79380)
Resolve late comments to deCONZ sensor #79137
2022-09-30 21:49:59 +02:00
epenet b649ef8d87
Realign util constants with 2022.9.7 (#79357) 2022-09-30 14:38:11 -04:00
Shay Levy c70ca1572b
Make Shelly update sensors disabled by default (#79376) 2022-09-30 14:37:58 -04:00
Joakim Plate 5cdf4220ee
Fjaraskupan stop on 0 percentage (#79367)
* Make sure fan turns off on 0 percentage

* Remember old percentage
2022-09-30 18:41:38 +02:00
J. Nick Koston 6694d06b37
Remove iBeacon devices that rotate their major,minor and mac (#79338) 2022-09-30 08:46:45 -04:00
J. Nick Koston ca0cd19dc9
Switch to using new esphome bluetooth_proxy_version field (#79331) 2022-09-30 08:29:36 -04:00
Michał Huryn ed044acca7
Remove blebox AirQuality platform (#77873)
* AirQuality functionality moved to sensors, tests moved accordingly.

* Refreshed fixtures comments.
2022-09-30 11:37:47 +02:00
epenet ac7b4e7569
Make temperature conversions private (#79349) 2022-09-30 11:07:10 +02:00
epenet fb7079c62c
Adjust icons with new device classes (#79348)
* Adjust icons with new device classes

* Fix mysensors tests

* Fix mysensors tests
2022-09-30 10:41:18 +02:00
J. Nick Koston 52cdae254c
Bump govee-ble to 0.19.1 to handle another H5181 (#79340)
fixes #79188
2022-09-30 10:33:14 +02:00
Erik Montnemery bc2dffabc4
Improve naming of units used in statistics (#79276) 2022-09-30 08:38:44 +02:00
Zack Barett 0001270bad
Add Third Reality to Zigbee Iot standards (#79341) 2022-09-29 23:13:09 -04:00
Paulus Schoutsen 6e893d9162
Store alternative domain for Zeroconf homekit discovery (#79240) 2022-09-29 22:21:00 -04:00
Duco Sebel aa6f15b1e2
Use SensorDeviceClass.VOLUME in HomeWizard (#79323)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-09-29 21:51:18 -04:00
uvjustin 2688e5b2d4
Mask spotify content in owntone library (#79247) 2022-09-29 21:07:26 -04:00
GitHub Action 21b078eeb7 [ci skip] Translation update 2022-09-30 00:42:29 +00:00
Vincent Giorgi d5b966d942
Add Airthings BLE component (#77284)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-09-29 15:55:45 -04:00
J. Nick Koston a01f18a3ac
Handle short local names from esphome proxies (#79321) 2022-09-29 14:37:31 -04:00
Robert Hillis d7d6637d79
Unregister Google sheets services during unload (#79314)
* Unregister services during unload - Google Sheets

* uno mas
2022-09-29 20:29:41 +02:00
ehendrix23 ba6a81c565
Resolve traceback error when using variables in template triggers (#77287)
Co-authored-by: Erik <erik@montnemery.com>
2022-09-29 13:26:28 -04:00
Dennis Schroer ee32e0eb3f
Update huisbaasje-client 0.1.0 to energyflip-client 0.2.0 (#79233) 2022-09-29 13:25:23 -04:00
Aaron Bach b659a19f4a
Don't create Repairs issue on Guardian entity replacement (#79311) 2022-09-29 13:24:52 -04:00
HarvsG f645965172
Add repair for missing Bayesian `prob_given_false` (#79303) 2022-09-29 13:24:06 -04:00
Bram Kragten 114db26fcf
Update frontend to 20220929.0 (#79317) 2022-09-29 13:22:41 -04:00
Maciej Bieniek 11c09f4fd8
Check if `new_version` is not empty string in Shelly update platform (#79300) 2022-09-29 13:22:30 -04:00
Aaron Bach d742e65ef5
Don't create Repairs issue on RainMachine entity replacement (#79310)
* Don't create Repairs issue on RainMachine entity replacement

* Strings
2022-09-29 18:22:28 +02:00
Aaron Bach db1797beb4
Use correct exception type for RainMachine select API error (#79309) 2022-09-29 08:58:16 -06:00
epenet da445e515b
Rename options key in rainmachine (#79249) 2022-09-29 08:19:28 -06:00
Jafar Atili 75510b8e90
Add cover platform for switchbee integration (#78383)
* Added Platform cover for switchbee integration

* added cover to .coveragerc

* Applied code review feedback from other PR

* Addressed comments from other PRs

* rebased

* Re-add carriage return

* Update homeassistant/components/switchbee/cover.py

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

* Update homeassistant/components/switchbee/cover.py

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

* Update homeassistant/components/switchbee/cover.py

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

* Update homeassistant/components/switchbee/cover.py

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

* addressed CR comments

* fixes

* fixes

* more fixes

* more fixes

* separate entities for cover and somfy cover

* fixed isort

* more fixes

* more fixes

* Update homeassistant/components/switchbee/cover.py

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

* Update homeassistant/components/switchbee/cover.py

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

* more fixes

* more fixes

* more

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-09-29 15:03:39 +02:00
J. Nick Koston 0b5289f748
Wait for disconnect when we are out of connection ble slots in esphome (#79246) 2022-09-29 08:42:55 -04:00
Paulus Schoutsen 616b85df31
Add DialogFlow to Google brand (#79245) 2022-09-29 08:34:51 -04:00
Rami Mosleh e7764b8bf1
Add ConfigEntry template function (#78030)
* Add ConfigEntry template function

* Remove looking up entry_id by entry title
2022-09-29 12:41:59 +02:00
Rami Mosleh d0ac1073a0
Allow entries with same user_key for Pushover (#77904)
* Allow entries with same user_key for Pushover

* remove unique_id completely

* Abort reauth if entered api_key already exists
Update tests
2022-09-29 12:40:53 +02:00
Paulus Schoutsen a1c26cd4cd
Add Leviton brand (#79244) 2022-09-29 12:28:51 +02:00
epenet 4bd686bdb1
Use SensorDeviceClass.DISTANCE in components (#79285)
* Use SensorDeviceClass.DISTANCE in components

* Adjust mysensors
2022-09-29 12:19:34 +02:00
epenet c527defe31
Use SensorDeviceClass.WEIGHT in components (#79277) 2022-09-29 11:28:59 +02:00
epenet fab3ee90b2
Use SensorDeviceClass.VOLUME in components (#79253) 2022-09-29 09:38:06 +02:00
epenet 0e764b57c2
Use SensorDeviceClass.SPEED in components (#79262) 2022-09-29 09:37:21 +02:00
Robert Svensson a0357767ef
Fix late comments to deCONZ sensors from #79137 (#79272)
* Fix late comments from #79137

* Fix comment
2022-09-29 09:33:31 +02:00
epenet f9d36fe493
Use SensorDeviceClass.SPEED in rfxtrx (#79261)
Use SensorDeviceClass.VOLUME in rfxtrx
2022-09-29 09:20:13 +02:00
epenet 0fa0ab855b
Use SensorDeviceClass.SPEED in metoffice (#79263) 2022-09-29 09:19:20 +02:00
Kevin Addeman 21693b0022
Bump pylutron_caseta to 0.16.0 (#79243) 2022-09-28 19:51:45 -10:00
uvjustin 79713d637a
Use Owntone name for forked-daapd (#79214)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-09-28 22:46:27 -04:00
PeteRager 504ce8e93a
Set nest entities as unavailable on lost connection (#78773)
* NEST - Issues with lost internet connectivity #70479

Update Climate and Sensor entities to be unavailable when the device connectivity trait indicates the device is offline.

The prior behavior, the last known values would be displayed indefinitely if the device lost internet connectivity.  This was creating the illusion that the device was still connected.  With this change, the Home Assistant entities will become unavailable when the device loses connectivity.

* Update formatting

* Add doc strings, fix indentation

* Fix doc strings

* Update test_climate_sdm.py

* Update test_climate_sdm.py

* Update test_sensor_sdm.py

* Update test_sensor_sdm.py

* more formatting fixes

* Place availability logic in mixin

1. Consolidate repeated code into mixin and apply mixin to Climate and Sensor entities
2. Return true instead of super.available()
3. No unit test changes required to maintain code coverage

* Define self._device is mixin to make linter happier

* Remove logger used for debugging

* restore whitespace

* Fix test due to underlying merge change

* Update availability_mixin.py

* Move availability logic into device_info

* Update sensor_sdm.py
2022-09-28 19:23:11 -07:00
Kevin Stillhammer 45ecddb9aa
Remove route sensor of here_travel_time (#79211) 2022-09-28 21:50:30 -04:00
Robert Svensson 473d7c484d
Improve deCONZ sensor classes (#79137) 2022-09-28 21:45:15 -04:00
HarvsG 768b83139f
Add to issue registry if user has mirrored entries for breaking in #67631 (#79208)
Co-authored-by: Diogo Gomes <diogogomes@gmail.com>
2022-09-28 21:39:15 -04:00
Raman Gupta 3884b4b6bf
Bump zwave-js-server-python to 0.42.0 (#79020) 2022-09-28 21:24:04 -04:00
GitHub Action 63f2c4ab98 [ci skip] Translation update 2022-09-29 00:36:54 +00:00
Paulus Schoutsen 14c68c8692
Add ubiquiti brand (#79232) 2022-09-28 20:30:50 -04:00
Paulus Schoutsen e3ed4eeb76
Add Denon brand (#79230) 2022-09-28 23:09:53 +02:00
Paulus Schoutsen b43e19a0c1
Add Cast + Chat to Google brand (#79231) 2022-09-28 23:09:42 +02:00
Paulus Schoutsen e6becabe11
Add fritz brand (#79226) 2022-09-28 22:45:35 +02:00
Paulus Schoutsen 62c114e849
Add Apple brand (#79227) 2022-09-28 16:21:09 -04:00
J. Nick Koston b49d499ab6
Bump yalexs to 1.2.4 (#79222) 2022-09-28 22:17:29 +02:00
Franck Nijhof 99f4ce9e5a
Bump version to 2022.11.0dev0 (#79224) 2022-09-28 21:51:06 +02:00
Paulus Schoutsen c40c772f74
Finish Google brand (#79225) 2022-09-28 21:43:51 +02:00
Jafar Atili 0e9e72c6e9
Bump pyswitchbee to 1.5.5 (#79206) 2022-09-28 20:41:33 +02:00
David F. Mulcahey 2ed48a9b28
Add configuration entities and device actions for Inovelli Blue Series switch to ZHA (#79106)
* Add Inovelli configutation entities to ZHA

* add device actions

* fix attribute name collision

* add device action tests

* disable remote protection per Inovelli request

* expect_reply to false

* update test for expect_reply change

* inovelli feedback

* translation keys and strings

* clean up numbers

* prevent double events

* remove individual LED defaults per inovelli

* redundant check

* update test
2022-09-28 14:22:39 -04:00
J. Nick Koston 7042d6d35b
Add ESPHome BleakClient (#78911)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-09-28 08:06:30 -10:00
epenet 9c3b40dad1
Deprecate conversion utilities (#78957)
* Deprecate utilities

* Deprecate distance and speed

* Add tests

* Adjust pylint

* Simplify temperature deprecation
2022-09-28 19:39:44 +02:00
Daniel Shokouhi 3b05bb5b3a
Update iBeacon UUID Major and Minor format for compatibility (#79220) 2022-09-28 07:23:55 -10:00
starkillerOG 4bdd8cb459
Shelly migrate to update entity (#78305)
* Add update entity

* fixes

* fixes

* change to CONFIG catogory

* return latest version if no update available

* fixes

* Remove firmware binary_sensors and buttons

* import Callable from collections

* remove ota_update tests

* Update homeassistant/components/shelly/update.py

Co-authored-by: Shay Levy <levyshay1@gmail.com>

* simplify

* fix mypy

* Create test_update.py

* fix isort

* add progress support

* fix styling

* fix update_tests

* fix styling

* do not exclude shelly update test

* bring coverage to 100%

* snake case

* snake case

* change str(x) to cast(str, x)

* simplify tests

* further simplify tests

* Split MOCK_SHELLY_COAP and MOCK_SHELLY_RPC

* fix issort

* fix status test

* fix isort

* run python3 -m script.hassfest

Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-09-28 20:21:30 +03:00
Bram Kragten bfd9201623
Update frontend to 20220928.0 (#79217) 2022-09-28 19:05:37 +02:00
Allen Porter cef1ebba3b
Rename Google Calendars to Google Calendar (#79210) 2022-09-28 18:02:32 +02:00
Jafar Atili 5262f44b81
Refactor duplicate code in switchbee (#79209)
* Refactored duplicate code

* Update homeassistant/components/switchbee/entity.py

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

* Update homeassistant/components/switchbee/entity.py

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

* Update homeassistant/components/switchbee/entity.py

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

* more

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-09-28 17:46:40 +02:00
Erik Montnemery b173ae7f44
Add support for integrations v2 (#78801)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-09-28 11:31:48 -04:00
Erik Montnemery 7f08dd851e
Make script entities register their own service (#79202) 2022-09-28 11:05:29 -04:00
Maciej Bieniek 8719829fbe
Add missing error catch in Shelly reauth flow (#79205) 2022-09-28 11:00:27 -04:00
avee87 8c0e3b9d50
Migrate MetOffice to new entity naming style (#74978)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-09-28 16:37:35 +02:00
Jafar Atili de3a1f444c
Add light platform for switchbee integration (#78382)
* Added Light platform for switchbee integration

* added light to .coveragerc

* Applied code review feedback from other PR

* Fixes based on previous reviewes

* fixed small mistake

* added test coverage for light

* aligned code with other PR

* rebased

* fixes

* removed unecessary changes

* Update homeassistant/components/switchbee/light.py

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

* Update homeassistant/components/switchbee/light.py

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

* more fixes

* more fixes

* adjusting switch with the new change

* more fixes

* Update homeassistant/components/switchbee/light.py

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

* Update homeassistant/components/switchbee/light.py

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

* Update homeassistant/components/switchbee/light.py

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

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-09-28 16:30:33 +02:00
epenet 24c26dc032
Use unit_conversion in components (#79204)
* Use unit_conversion in components

* Two more
2022-09-28 16:05:31 +02:00
epenet f76eeaeea1
Adjust docstring for SensorDeviceClass.WEIGHT (#79201) 2022-09-28 09:03:18 -04:00
Maciej Bieniek 1ac5696e7f
Bump pybravia to 0.2.3 (#79200) 2022-09-28 14:46:43 +02:00
Vilppu Vuorinen e39c4db438
Add daily energy consumption sensor for melcloud (#78682) 2022-09-28 14:45:14 +02:00
epenet 253647aaa9
Use unit_conversion in unit_system utility (#79004) 2022-09-28 14:37:22 +02:00
Colin Robbins a38b36cf34
Add long term stats support to Withings sensors (#74829) 2022-09-28 14:33:38 +02:00
Jafar Atili 4453241176
Fix spelling in switchbee (#79195) 2022-09-28 14:18:06 +02:00
Erik Montnemery cce23683f1
Add additional integration_type options for integration manifests (#79193)
* Add additional integration_type options for integration manifests

* Rename integration_type internal to system
2022-09-28 14:17:39 +02:00
Jan Bouwhuis 84b2c74746
Move MQTT discovery hass.data globals to dataclass (#78706)
* Add MQTT discovery hass.data globals to dataclass

* isort

* Additional rework

* Add hass.data["mqtt_tags"] to dataclass

* Follow-up comment

* Corrections
2022-09-28 14:13:44 +02:00
Phil Bruckner a38c125765
Improve Life360 address attribute (#76269) 2022-09-28 14:10:19 +02:00
Paulus Schoutsen d3f5ccfed8
Allow fetching script config (#79131) 2022-09-28 13:52:58 +02:00
Jafar Atili 653e0917bb
Bump pyswitchbee to 1.5.3 (#78583)
* Add switchbee to strict-typing

* strict typing

* Bumped pyswitchbee

* bumped library to 1.5.1

* strict-typed the package

* fixed issue

* addressed epenet comments

* fixed requirements_all

* once more
2022-09-28 13:51:52 +02:00
epenet 5438552d4a
Cleanup unit conversion (#79197)
* Move UNIT_RATIO to BaseUnitConverter

* Make UNIT_CONVERSION private

* Remove STATISTIC_UNIT_TO_UNIT_CLASS constant

* Cleanup websocket_api

* Imrpove valid_units check
2022-09-28 13:49:46 +02:00
Teemu R a5c9c1880a
Add missing quality scales for internal integrations (#76499) 2022-09-28 13:46:20 +02:00
Rami Mosleh 9bd2117240
Add typing hints to mikrotik tests (#79144) 2022-09-28 13:05:45 +02:00
Paulus Schoutsen 4843d330f3
Allow fetching automation config (#79130) 2022-09-28 12:49:00 +02:00
epenet 5389ff3253
Add new weight device class (#79185) 2022-09-28 12:13:49 +02:00
epenet c96c5bed7d
Remove argument validation in Unit Converter (#79107)
* Remove argument validation in Unit Converter

* Use HomeAssistantError

* Adjust tests

* Improve coverage
2022-09-28 10:58:04 +02:00
epenet 1b8bed936c
Use new DISTANCE and VOLUME device classes in Renault (#77488) 2022-09-28 10:46:24 +02:00
Paulus Schoutsen 010430780e
Allow controlling PrusaLink print jobs (#78720)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-09-28 10:42:19 +02:00
Tom Brien 87dfe82613
Bump holidays to 0.16 (#78832) 2022-09-28 10:39:43 +02:00
Erik Montnemery 6ef33b1d39
Fix overriding a script's entity_id (#78765) 2022-09-28 10:37:34 +02:00
Marc Mueller 4a432db611
Remove type ignore from bluetooth (#79146) 2022-09-28 10:29:55 +02:00
JQWeb 65788fad57
Update roomba config flow description (#77974)
* Update strings.json

Automatic retrieval of the Roomba password is not possible when the iRobot App is opened on any device.
If the iRobot App is open, the password retrieval will fail.
- I added a sentence informing the users that they should make sure that the iRobot App is closed on all devices, before pressing the Home Button on the Roomba.
- Also i added a sentence informing the users that they should make sure that the iRobot App is closed on all devices, in the failure message.
This way, more users will have a succesful password retrieval, resulting in a smoother configuration experience for their Roomba into Home Assistant.

* Update strings.json

Added the sentence to the front of the message
Added an "Important" notice to catch more attention.

* Update homeassistant/components/roomba/strings.json

Co-authored-by: Yevhenii Vaskivskyi <yevhenii.vaskivskyi@gmail.com>

* Update strings.json

Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Yevhenii Vaskivskyi <yevhenii.vaskivskyi@gmail.com>
2022-09-28 10:05:58 +02:00
J. Nick Koston 63b7a23636
Bump switchbot to fix assertion error on processing humidifer data (#79180)
changelog: https://github.com/Danielhiversen/pySwitchbot/compare/0.19.12...0.19.13
2022-09-28 09:29:09 +02:00
Yuxin Wang 52307708c8
Refactor apcupsd to use config flow (#64809)
* Add Config Flow to APCUPSd integration and remove YAML support.

* Hide the binary sensor if user does not select STATFLAG resource.

* Add tests for config flows.

* Simplify config flow code.

* Spell fix.

* Fix pylint warnings.

* Simplify the code for config flow.

* First attempt to implement import flows to suppport legacy YAML configurations.

* Remove unnecessary log calls.

* Wrap synchronous update call with `hass.async_add_executor_job`.

* Import the YAML configurations when sensor platform is set up.

* Move the logger call since the variables are not properly set up.

* Add codeowner.

* Fix name field of manifest.json.

* Fix linting issue.

* Fix incorrect dependency due to incorrect rebase.

* Update codeowner and config flows via hassfest.

* Postpone the deprecation warning to 2022.7.

* Import future annotations for init file.

* Add an newline at the end to make prettier happy.

* Update github id.

* Add type hints for return types of steps in config flow.

* Move the deprecation date for YAML config to 2022.12.

* Update according to reviews.

* Use async_forward_entry_setups.

* Add helper properties to `APCUPSdData` class.

* Add device_info for binary sensor.

* Simplify config flow.

* Remove options flow strings.

* update the tests according to the changes.

* Add `entity_registry_enabled_default` to entities and use imported CONF_RESOURCES to disable entities instead of skipping them.

* Update according to reviews.

* Do not use model of the UPS as the title for the integration.

Instead, simply use "APCUPSd" as the integration title and let the device info serve as title for each device instead.

* Change schema to be a global variable.

* Add more comments.

* Rewrite the tests for config flows.

* Fix enabled_by_default.

* Show friendly titles in the integration.

* Add import check in `async_setup_platform` to avoid importing in sensor platform setup.

* Add import check in `async_setup_platform` to avoid importing in sensor platform setup.

* Update comments in test files.

* Use parametrize instead of manually iterating different test cases.

* Swap the order of the platform constants.

* Avoid using broad exceptions.

* Set up device info via `_attr_device_info`.

* Remove unrelated test in `test_config_flow`.

* Use `DeviceInfo` instead of dict to assign to `_attr_device_info`.

* Add english translation.

* Add `async_create_issue` for deprecated YAML configuration.

* Enable UPS status by default since it could show "online, charging, on battery etc" which is meaningful for all users.

* Apply suggestions from code review

* Apply suggestion

* Apply suggestion

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-09-28 09:14:04 +02:00
G Johansson 18be5f1387
SQL fix entry options save (#78145)
* SQL fix options

* Testing
2022-09-28 08:49:37 +02:00
Jack Boswell 3d3aa824b3
Refactor Trend to use `async_setup_platform` (#78216)
* Move trend constants to const.py

* Migrate to async_setup_platform

* Fix test

* Reorder attrs
2022-09-28 08:46:13 +02:00
Erik Montnemery c38b1e7727
Improve check of new_entity_id in entity_registry.async_update_entity (#78276)
* Improve check of new_entity_id in entity_registry.async_update_entity

* Fix race in rfxtrx config flow

* Make sure Event is created on time

* Rename poorly named variable

* Fix typing

* Correct typing of _handle_state_change
2022-09-28 08:43:58 +02:00
Michael 69bf77be12
Avoid multiline lambdas in Fritz!Smarthome sensors (#78524)
* avoid multiline lambdas

* update tests
2022-09-28 08:43:31 +02:00
Vincent Knoop Pathuis 9ee81fdd77
Landis+Gyr Heat Meter: add heat previous year GJ as diagnostic (#78690)
Add heat previous year GJ as diagnostic
2022-09-28 08:28:31 +02:00
Robert Hillis e360a4fa9e
Bump aiopyarr to 22.9.0 (#79173) 2022-09-28 08:06:24 +02:00
J. Nick Koston 0c191df598
Bump ibeacon-ble to 0.7.1 (#79182) 2022-09-28 07:48:38 +02:00
Ville Skyttä b54458dfba
Fix EZVIZ spelling case (#79164)
* Fix EZVIZ spelling case

The vendor seems consistent about all-uppercase spelling, so let's
follow suit.

* Revert changes to translations other than English
2022-09-28 07:41:33 +02:00
J. Nick Koston 38f3fa0762
Handle invalid ISY data when the device is booting (#79163) 2022-09-27 17:42:48 -10:00
J. Nick Koston 7b708f4b35
Fix bluetooth active update coordinator not returning on failure (#79167)
We also need to return on polling exception so we do not
try to update.

Fixes #79166
2022-09-27 22:51:46 -04:00
J. Nick Koston 40f5c317c7
Bump yalexs to 1.2.3 (#79170)
Maps more missing activities

Fixes #79119

changelog: https://github.com/bdraco/yalexs/compare/v1.2.2...v1.2.3
2022-09-27 22:50:56 -04:00
J. Nick Koston 1cf1d2c2bb
Update pySwitchbot for newer firmwares (#79174)
changelog: https://github.com/Danielhiversen/pySwitchbot/compare/0.19.11...0.19.12

found while developing bluetooth proxies for esphome
2022-09-27 22:50:40 -04:00
J. Nick Koston 8c3e0d527d
Bump dbus-fast to 0.17.0 (#79177)
Changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.15.1...v1.17.0
2022-09-27 22:50:06 -04:00
David F. Mulcahey cd4b0f53a1
Bump ZHA quirks lib (#79175) 2022-09-27 20:35:14 -04:00
javicalle e5630c6a66
New ZONNSMART TRVs (#79169)
Adds a few missing ZONNSMART TRVs
2022-09-27 16:25:36 -04:00