Commit graph

18473 commits

Author SHA1 Message Date
mkmer
d318155f09
Move to new service handeling methods in Blink (#103435) 2023-11-28 08:34:41 +01:00
Allen Porter
a1aff5f4a0
Add websocket todo/item/subscribe for subscribing to changes to todo list items (#103952)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-11-28 08:27:51 +01:00
Jan-Philipp Benecke
7efc581a48
Remove duplicate fixture from bsblan (#104612) 2023-11-27 21:35:13 +01:00
Ville Skyttä
2a4ab3d53d
Support HTTPS connections to Huawei LTE devices (#86119)
* Support HTTPS connections to Huawei LTE devices

Not all devices support HTTPS, so we default to plain HTTP still.

Ones that do are very likely to have certificates that do not pass
hostname verification, and are either self signed or issued by an
untrusted CA. Add option to use unverified HTTPS to make it possible to
connect to these, and when in effect, filter urllib3's related warnings
about insecure connections to the hostname in question.

* Use common config key and strings for certificate verification settings

Even though the wording might be slightly suboptimal here, it's better
to be consistent across the codebase than to finetune on this level.

This also switches the default the other way around: verification is
now disabled by default. This is not a good general default, but for
this particular case setups where the verification would succeed would
be so rare and require considerable local setup that it's very
unlikely to happen in practice.

* Add config flow tests

* Mock logout for better test coverage

* Set up custom requests session only when using unverified https

* Add https config flow test case

* Make better use of verify SSL default
2023-11-27 18:03:29 +01:00
Allen Porter
664aca2c68
Fix rainbird duplicate devices (#104528)
* Repair duplicate devices added to the rainbird integration

* Apply suggestions from code review

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

* Update tests/components/rainbird/test_init.py

* Remove use of config_entry.async_setup

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-11-27 07:43:03 -08:00
Aarni Koskela
706add4a57
Switch formatting from black to ruff-format (#102893)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-27 14:38:59 +01:00
Robert Resch
cf9b0e804f
Deprecate legacy api auth provider (#104409)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-27 14:16:18 +01:00
Matthias Alphart
5550dcbec8
Add textual representation entities for Fronius status codes (#94155)
* optionally decouple `EntityDescription.key` from API response key

this makes it possible to have multiple entities for a single API response field

* Add optional `value_fn` to EntityDescriptions

eg. to be able to map a API response value to a different value (status_code -> message)

* Add inverter `status_message` entity

* Add meter `meter_location_description` entity

* add external battery state

* Make Ohmpilot entity state translateable

* use built-in StrEnum

* test coverage

* remove unnecessary checks

None is handled before
2023-11-27 13:59:25 +01:00
mkmer
669b347ed1
Add init test to Blink (#103263) 2023-11-27 11:13:40 +01:00
Joost Lekkerkerker
ccc8804906
Bump aiowithings to 2.0.0 (#104579) 2023-11-27 10:53:41 +01:00
Franck Nijhof
321b24b146
Improve user-facing error messages in HomeWizard Energy (#104547) 2023-11-27 07:47:46 +01:00
Jan-Philipp Benecke
b49505b390
Add reauth flow to co2signal (#104507) 2023-11-26 20:45:45 +01:00
Hessel
53e78cb017
Wallbox Change Minimum Value Charging Current (#104553) 2023-11-26 20:40:27 +01:00
jan iversen
be889c89c1
Update modbus validate table to be 3 state, to simplify the code (#104514) 2023-11-26 17:49:51 +01:00
On Freund
6e5dfa0e9b
Add OurGroceries integration (#103387)
* Add OurGroceries integration

* Handle review comments

* Fix coordinator test

* Additional review comments

* Address code review comments

* Remove devices
2023-11-26 17:38:47 +01:00
Jan-Philipp Benecke
b314df272f
Cleanup Discovergy a bit (#104552)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-11-26 17:32:47 +01:00
Maciej Bieniek
14387cf94b
Remove Shelly Wall Display switch entity only if the relay is used as the thermostat actuator (#104506) 2023-11-26 14:46:29 +01:00
Bouwe Westerdijk
959b98be0e
Plugwise: bug-fix for Anna + Techneco Elga combination (#104521) 2023-11-26 13:08:10 +01:00
Joost Lekkerkerker
2e1c722303
Add entity translations to Balboa (#104543) 2023-11-26 13:07:21 +01:00
Joost Lekkerkerker
e3599bc26f
Move APCUPSd coordinator to separate file (#104540) 2023-11-26 13:04:52 +01:00
Franck Nijhof
32eab2c7ed
Remove duplicate sensors on single phase HomeWizard meters (#104493)
Co-authored-by: Duco Sebel <74970928+DCSBL@users.noreply.github.com>
2023-11-26 11:42:47 +01:00
Joost Lekkerkerker
4a5b1ab301
Migrate Epson to has entity name (#98164) 2023-11-26 11:42:30 +01:00
Franck Nijhof
bd27358398
Adjust HomeWizard test fixtures to match actual devices (#104537) 2023-11-26 11:09:14 +01:00
Raman Gupta
a074c06f92
Add alert to zwave_js device info page for custom device config (#104115) 2023-11-26 10:08:20 +01:00
J. Nick Koston
fc5ae50e06
Bump aioesphomeapi to 19.0.0 (#104512) 2023-11-25 14:00:04 -06:00
Tudor Sandu
837f34c40c
Add scene.delete service for dynamically created scenes (with scene.create) (#89090)
* Added scene.delete service

Only for scenes created with scene.create

* Refactor after #95984 #96390

* Split scene validation in 2

First, check if entity_id is a scene
Second, check if it's a scene created with `scene.create`

* Address feedback

- Move service to `homeassistant` domain
- Register with `platform.async_register_entity_service`
- Raise validation errors instead of just logging messages

* Revert moving the service to the `homeassistant` domain

* Remove unneeded validation

* Use helpers and fix tests

* Apply suggestions from code review

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

* Fix linting

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-11-25 20:14:48 +01:00
Michael Hansen
71268bd407
Add HassClimateGetTemperature intent (#102831) 2023-11-25 14:50:44 +01:00
Rami Mosleh
dd028220ba
Use iso8601 format when fetching prayer times (#104458) 2023-11-25 14:05:08 +01:00
Paulus Schoutsen
1cfbdd6a5d
Allow overriding blueprints on import (#103340)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-25 11:49:50 +01:00
G Johansson
8376a6bda9
Change to language selector in Workday (#104472) 2023-11-25 10:44:15 +01:00
J. Nick Koston
1c4d7e9588
Improve test coverage for ESPHome deep sleep entities (#104476) 2023-11-25 09:20:56 +01:00
Franck Nijhof
8273427974
Complete tests for HomeWizard energy plug HWE-SKT (#104474) 2023-11-24 17:38:39 -06:00
Jan Bouwhuis
19040becd3
Fix hassio mqtt discovery CI test (#104463)
* Fix hassio mqtt discovery CI test

* Avoid mqtt set up before mocking the flow

* Fix mock
2023-11-24 21:54:53 +01:00
Duco Sebel
d4458cbac4
Fix HomeWizard sensors unavailable when value is '0' (#104302)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-24 21:38:46 +01:00
Jan-Philipp Benecke
94995f560f
Add sensor tests to co2signal (#104464) 2023-11-24 21:35:36 +01:00
Jan Bouwhuis
9962301b42
Do not notify config errors during logging (#104466) 2023-11-24 21:34:09 +01:00
Bouwe Westerdijk
4700ad7817
Add HVACMode.OFF to Plugwise Adam (#103360) 2023-11-24 20:07:17 +01:00
Maciej Bieniek
2515dbeee1
Bump aioshelly to version 6.1.0 (#104456)
* Bump aioshelly

* Use MODEL_* consts from aioshelly

* Add missing models to BATTERY_DEVICES_WITH_PERMANENT_CONNECTION
2023-11-24 20:55:00 +02:00
Jan-Philipp Benecke
724352d55c
Use AsyncMock and fixtures in co2signal tests (#104041) 2023-11-24 18:56:58 +01:00
Jan Bouwhuis
af71c2bb45
Raise and suppress stack trace when reloading yaml fails (#102410)
* Allow async_integration_yaml_config to raise

* Docstr - split check

* Implement as wrapper, return dataclass

* Fix setup error handling

* Fix reload test mock

* Move log_messages to error handler

* Remove unreachable code

* Remove config test helper

* Refactor and ensure notifications during setup

* Remove redundat error, adjust tests notifications

* Fix patch

* Apply suggestions from code review

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

* Follow up comments

* Add call_back decorator

* Split long lines

* Update exception abbreviations

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-11-24 17:34:45 +01:00
Robert Resch
852fb58ca8
Extend auth/providers endpoint and add /api/person/list endpoint for local ip requests (#103906)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-11-24 17:11:54 +01:00
Hejki
65a2f5bcd5
Support for group into command_line auth provider (#92906)
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-11-24 13:19:25 +01:00
Joseph
df025b5993
Enumerate openai.Models to validate config (#99438) 2023-11-24 13:14:44 +01:00
Duco Sebel
62473936e2
Allow adding items Picnic shopping cart by searching (#102862)
Co-authored-by: Robert Resch <robert@resch.dev>
2023-11-24 13:06:32 +01:00
Maciej Bieniek
adc56b6b67
Add support for Shelly Wall Display in thermostat mode (#103937) 2023-11-24 12:55:41 +01:00
Paulus Schoutsen
130822fcc6
Attach Matter info to Google Assistant serialize (#103768) 2023-11-24 12:55:05 +01:00
Allen Porter
378a708bf7
Only show Google Tasks that are parents and fix ordering (#103820) 2023-11-24 12:54:49 +01:00
Tom Harris
4096687112
Allow for manual config entry of Insteon PLM path (#103705) 2023-11-24 12:33:51 +01:00
Robert Hillis
76427a0080
Deprecate Harmony switch platform (#92787)
* Deprecate Harmony switches

* uno mas

* add test for issues

* switch to remote

* uno mas
2023-11-24 11:54:43 +01:00
J. Nick Koston
9ed745638d
Chunk purging attributes and data ids for old SQLite versions (#104296) 2023-11-24 11:46:02 +01:00