Commit Graph

65469 Commits

Author SHA1 Message Date
Joakim Plate fc444e4cd6 Allow control of pump mode for nibe (#98499)
* Allow control of pump mode

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-08-18 13:15:59 +02:00
jan iversen 1c56c39897 modbus config: count and slave_count can normally not be mixed. (#97902) 2023-08-18 13:10:13 +02:00
Bram Kragten 66685b796d Update frontend to 20230802.1 (#98616) 2023-08-18 13:09:35 +02:00
Jan Bouwhuis 5ef6c03610 Log entity_id payload and template on MQTT value template error (#98353)
* Log entity_id payload and template on error

* Also handle cases with default values.

* Do not log payload twice

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

* Tweak test to assert without payload

* black

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-08-18 13:05:53 +02:00
Joost Lekkerkerker 80a5e341b5 Add device to Garage Amsterdam entity (#98573) 2023-08-18 11:48:00 +02:00
Robert Resch 7ac2c61f24 Fix copy-paste error in comments of number tests (#98615) 2023-08-18 11:02:30 +02:00
jan iversen 59d37f65d5 Correct modbus config validator: slave/swap (#97798) 2023-08-18 10:55:39 +02:00
jan iversen e42b9e6c4c Modbus: set state_class etc in slaves. (#98332) 2023-08-18 10:52:57 +02:00
Luca Leonardo Scorcia 9be532cea9 Fix inconsistent lyric temperature unit (#98457) 2023-08-18 10:52:22 +02:00
Maciej Bieniek d5338e88f2 Fix the availability condition for Shelly N current sensor (#98518) 2023-08-18 10:49:43 +02:00
jan iversen 5a7084e78c Correct number of registers to read for sensors for modbus (#98534) 2023-08-18 10:48:57 +02:00
Franck Nijhof 2f204d5747 Remove unneeded startswith in content check of image upload (#98599) 2023-08-18 10:38:21 +02:00
Niels Perfors 89705a22cf Verisure unpack (#98605) 2023-08-18 10:26:01 +02:00
J. Nick Koston d3ee2366b0 Bump dbus-fast to 1.91.4 (#98600) 2023-08-18 03:09:15 -05:00
tronikos 6b82bf2bc7 Fix Flume leak detected sensor (#98560) 2023-08-18 03:07:44 -05:00
Simone Chemelli ab9d6ce61a New integration for Comelit SimpleHome (#96552)
* New integration for Comelit SimpleHome

* Address first review comments

* cleanup

* aiocomelit bump and coordinator cleanup

* address review comments

* Fix some review comments

* Use config_entry.unique_id as last resort

* review comments

* Add config_flow tests

* fix pre-commit missing checks

* test_conflig_flow coverage to 100%

* fix tests

* address latest review comments

* new ruff rule

* address review comments

* simplify unique_id
2023-08-18 08:40:23 +02:00
Faidon Liambotis 9fdad592c2 Add option to disable MQTT Alarm Control Panel supported features (#98363)
* Make MQTT Alarm Control Panel features conditional

The MQTT Alarm Control Panel currently enables all features (arm home,
arm away, arm night, arm vacation, arm custom bypass) unconditionally.
This clutters the interface and can even be potentially dangerous, by
enabling modes that the remote alarm may not support.

Make all the features conditional, by adding a new "supported_features"
configuration option, comprising a list of the supported features as
options. Feature enablement seems inconsistent across the MQTT
component; this implementation is most alike to the Humidifier modes
option, but using a generic "supported_features" name that other
implementations may reuse in the future.

The default value of this new setting remains to be all features, which
while it may be overly expansive, is necessary to maintain backwards
compatibility.

* Apply suggestions from code review

* Use vol.Optional() instead of vol.Required() for "supported_features".
* Move the initialization of _attr_supported_features to _setup_from_config.

Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>

* Apply suggestions from emontnemery's code review

* Use vol.In() instead of cv.multi_seelct()
* Remove superfluous _attr_supported_features initializers, already
  present in the base class.

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

* Add invalid config tests for the MQTT Alarm Control Panel

* Set expected_features to None in the invalid MQTT Alarm Control Panel tests

* Add another expected_features=None in the invalid tests

Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>

---------

Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-08-18 08:23:48 +02:00
lymanepp f6a9be937b Add humidity and dew point to tomorrow.io integration (#98496)
* Add humidity and dew point to tomorrow.io integration

* Fix ruff complaints

* Make mypy happy

* Merge emontnemery's changes

* Fix formatting error

* Add fake humidity and dew point to test data (first interval only)

* Fix inconsistency

* Fix inconsistency
2023-08-18 07:41:25 +02:00
Michael Hansen 49d2c60992 Add pipeline VAD events (#98603)
* Add stt-vad-start and stt-vad-end pipeline events

* Update tests
2023-08-17 19:58:58 -04:00
Erik Montnemery c17f08a3f5 Create a single entity for new met.no config entries (#98098)
* Create a single entity for new met.no config entries

* Fix lying docstring

* Fix test
2023-08-17 19:41:11 +02:00
Erwin Douna d761b5ddbf Add tests and typing to Tado config flow (#98281)
* Upgrading tests

* Code improvements and removing unused function

* Update homeassistant/components/tado/config_flow.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Update homeassistant/components/tado/config_flow.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Update homeassistant/components/tado/config_flow.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Update tests/components/tado/test_config_flow.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Update tests/components/tado/test_config_flow.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Update tests/components/tado/test_config_flow.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Update tests/components/tado/test_config_flow.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Update tests/components/tado/test_config_flow.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Importing Any

* Rerunning Blackformatter

* Adding fallback scenario to options flow

* Adding constants

* Adding a retry on the exceptions

* Refactoring to standard

* Update homeassistant/components/tado/config_flow.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Adding type to validate_input

* Updating test

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-08-17 19:37:34 +02:00
Joost Lekkerkerker dd69ba3136 Migrate Cert Expiry to has entity name (#98160)
* Migrate Cert Expiry to has entity name

* Migrate Cert Expiry to has entity name

* Fix entity name
2023-08-17 18:29:20 +02:00
epenet a9b1f23b7f Bump renault-api to 0.2.0 (#98587) 2023-08-17 18:16:32 +02:00
Russell Cloran 49995a4667 Add tests for device tracker in Prometheus (#98054) 2023-08-17 17:58:52 +02:00
J. Nick Koston 3e14e5acba Bump aioesphomeapi to 16.0.1 (#98536) 2023-08-17 17:46:21 +02:00
Marc Mueller 529bc507a0 Fix aiohttp test RuntimeWarning (#98568) 2023-08-17 17:42:20 +02:00
J. Nick Koston e95979e9af Bump ESPHome recommended BLE version to 2023.8.0 (#98586) 2023-08-17 17:39:35 +02:00
Franck Nijhof 740cabc21e Pin setuptools to 68.0.0 (#98582) 2023-08-17 17:36:22 +02:00
Maciej Bieniek d44847bb23 Log Tractive events on debug level (#98539) 2023-08-17 17:09:16 +02:00
J. Nick Koston 30a88e9e61 Additional doorbird cleanups to prepare for event entities (#98542) 2023-08-17 09:37:54 -05:00
Erwin Douna 2d4decc9b1 Revert "Integration tado bump" (#98505)
Revert "Integration tado bump (#97791)"

This reverts commit 65365d1db5.
2023-08-17 16:16:47 +02:00
Joost Lekkerkerker 6f4294dc62 Migrate IPMA to has entity name (#98572)
* Migrate IPMA to has entity name

* Migrate IPMA to has entity name
2023-08-17 16:02:22 +02:00
Erwin Douna ea5272ba62 Revert "Fix fanSpeed issue in Tado" (#98506)
Revert "Fix fanSpeed issue (#98293)"

This reverts commit d6498aa39e.
2023-08-17 15:44:23 +02:00
Øyvind Matheson Wergeland cb4917f880 Fix GoGoGate2 configuration URL when remote access is disabled (#98387) 2023-08-17 15:12:35 +02:00
Maciej Bieniek d6a7127b84 Improve availability of Tractive entities (#97091)
Co-authored-by: Robert Resch <robert@resch.dev>
2023-08-17 12:15:36 +02:00
Dennis 1954539e65 Add state_class to tomorrowio UV Index (#98541)
* Added state_class to UV Index

Forgot to add a state_class as other sensors got their state_class from their device class. As there is no UV Index device class I left it out.

* Forgotten a comma, whoops

* Changed measurement to string.

* Changed from "measurement" to SensorStateClass
2023-08-17 11:13:11 +02:00
Klaas Schoute 8b4937f627 Bump odp-amsterdam to v5.3.0 (#98555)
* Bump package to v5.3.0

* Load only the garages for cars
2023-08-17 10:24:58 +02:00
G Johansson 6faa9abc75 Fix Verisure config entry migration (#98546) 2023-08-17 08:51:59 +02:00
Sebastian Lövdahl fde498586e Expose dew point in Met.no (#98543) 2023-08-17 07:45:23 +02:00
puddly 52a8f01096 Make IKEA fan sensors diagnostic in ZHA (#97747) 2023-08-17 02:15:35 +01:00
Marc Mueller a776ecddb7 Update mypy to 1.5.1 (#98554) 2023-08-16 18:44:02 -05:00
Erik Montnemery 992cc56c7e Modernize buienradar weather (#98473) 2023-08-16 22:19:22 +02:00
Erik Montnemery 1897be1467 Map demo and kitchen_sink weather condition codes once (#98510)
Map demo and kitchen_sink condition codes once
2023-08-16 22:12:22 +02:00
Erik Montnemery 614d6e929d Map meteoclimatic weather condition codes once (#98514) 2023-08-16 22:11:27 +02:00
Erik Montnemery f85c2e5a92 Modernize environment_canada weather (#98502) 2023-08-16 22:10:48 +02:00
Erik Montnemery 227d4a590d Map metoffice weather condition codes once (#98515) 2023-08-16 22:09:06 +02:00
Erik Montnemery f135c42524 Map openweathermap weather condition codes once (#98516) 2023-08-16 22:08:17 +02:00
Erik Montnemery f643d2de46 Map SMHI weather condition codes once (#98517) 2023-08-16 22:07:12 +02:00
Erik Montnemery 5c1c8dc682 Modernize tomorrowio weather (#98466)
* Modernize tomorrowio weather

* Add test snapshot

* Update snapshots

* Address review comments

* Improve test coverage
2023-08-16 20:22:38 +02:00
Erik Montnemery 827e06a5c8 Improve typing of nws (#98485)
* Improve typing of nws

* Address review comments
2023-08-16 20:21:07 +02:00