Commit Graph
22455 Commits
Author SHA1 Message Date
David F. MulcaheyandGitHub 0aa6a17da8 Prevent entity creation errors from causing all entities for a platform from loading in ZHA (#121631) 2024-07-10 08:31:24 +02:00
CrazyMan2000andGitHub 9120115577 Split media player select input test (#121633) 2024-07-09 23:28:41 +02:00
Jan BouwhuisandGitHub 805d4fcc40 Do not use curr as abbreviation in alexa tests and remove conditions (#121627) 2024-07-09 22:58:22 +02:00
dougiteixeiraandGitHub d783813ba0 Add config flow for platform button in Template (#120886) 2024-07-09 21:20:18 +02:00
jan iversenandGitHub 5e56c27703 Modbus, Remove duplicate address check (#121579) 2024-07-09 21:16:47 +02:00
epenetandGitHub bff663b3c1 Improve type hints in recorder result_processor (#121593) 2024-07-09 21:12:03 +02:00
epenetandGitHub a4980cf0fd Improve type hints in zwave_js tests (#121594) 2024-07-09 20:13:47 +02:00
ilanandGitHub 31dc80c616 Add binary sensor to madVR integration (#121465)
* feat: add binary sensor and tests

* fix: update test

* fix: use entity description

* feat: use translation key

* feat: implement base entity

* fix: change device classes

* fix: remove some types

* fix: coordinator.data none on init

* fix: names, tests

* feat: parameterize tests
2024-07-09 19:11:08 +02:00
Andrew JacksonandGitHub 898803abe9 Add shopping lists to Mealie integration (#121534)
* Add mealie shopping lists & tests

* Add shopping_lists init failure

* Fix coordinator name

* Fixes

* Add available, fix merge

* Fixes

* Fixes

* Add todo failure tests

* Fix tests
2024-07-09 18:39:22 +02:00
Jan BouwhuisandGitHub 5b25c24539 Remove stale template_topic code for mqtt publish service (#121604) 2024-07-09 18:22:08 +02:00
e44f00cf7c Add alexa remote support (#120878)
* Updated the AlexaModeController to support the remote domain. Also added an alexa entitiy adapter for the remote domain.

* Fixed copy paste mistake.

* Fixed power state for remove domain.

* Updated the CapabilityResource to support labels with the corresponding locale. This local is read from the users config.

* Add the alexa display category 'REMOTE' and use it for the remote capability.

* Revert "Updated the CapabilityResource to support labels with the corresponding locale. This local is read from the users config."

This reverts commit fbdf37904a.

* Fix error when the remote does not have an activtiy list.

* Add tests for the state report of a remote entity.

* Add a test for alexas set mode directive for a remote entitiy.

* Add a test for alexas TurnOn and TurnOff directives for a remote entity.

* Apply suggestions from code review

Fix copy paste mistakes.

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

* Improve attribute name as suggested.

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

* Add test case with zero and one activity.

* Add a comment why we use the mode controller instead of the input controller.

* Add test to check of the discovery returns all required interfaces for a remote entitiy.

* Tweak comment

* Add line breaks to fix max allowed chars per line.

---------

Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
2024-07-09 18:03:47 +02:00
154da1b18b Allow targeting conversation agent as pipeline (#119556)
* Allow targetting conversation agent as pipeline

* Test that we can use a conversation entity as an assist pipeline

* Add test for WS get

---------

Co-authored-by: Michael Hansen <mike@rhasspy.org>
2024-07-09 10:56:53 -05:00
Paulus SchoutsenandGitHub 01861cd240 Ensure we prepare conversation pipeline when speech-to-text starts (#114665)
* Ensure we prepare conversation pipeline when speech-to-text starts

* Add lock around recognize

* Update homeassistant/components/conversation/default_agent.py

* Add lock around load intents
2024-07-09 09:58:52 -05:00
4498bf9ec4 Remove language lock from default agent and move around tests (#121531)
* Remove language lock

* Remove unsub for change events

* Remove redundant check

* Simplify intent loading

* Cache intent loading error

* Revert "Remove unsub for change events"

This reverts commit 575266abcd.

* guard instead of assert

* Some more cleanup

* No need to warn during prepare

* Some more cleanup

* Add more timing logs

* Split up tests and rely less on http

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2024-07-09 16:05:43 +02:00
Joost LekkerkerkerandGitHub a1fae0e0ce Fix missing validation and service definition in Mealie (#121578) 2024-07-09 11:55:12 +02:00
Brett AdamsandGitHub 48d9df74ed Add sunroof to Teslemetry (#121476) 2024-07-09 08:36:34 +02:00
Robert ContrerasandGitHub 3ea694a069 Home Connect unit tests for light platform (#121576) 2024-07-09 08:31:41 +02:00
Markus JacobsenandGitHub 45843a3112 Add Bang & Olufsen media_player testing (#120580) 2024-07-08 22:19:02 +02:00
b754f03c11 ZHA as an external library (#120190)
Co-authored-by: David Mulcahey <david.mulcahey@icloud.com>
Co-authored-by: David Mulcahey <david.mulcahey@me.com>
2024-07-08 20:18:30 +02:00
Joost LekkerkerkerandGitHub 5f088e0501 Add Mealie service to get recipe (#121462) 2024-07-08 17:11:35 +02:00
epenetandGitHub 98651cbd2e Improve type hints in lovelace tests (#121520) 2024-07-08 14:04:11 +02:00
epenetandGitHub 19e272a901 Improve type hints in iotawatt tests (#121505) 2024-07-08 13:31:05 +02:00
epenetandGitHub 10ee554f1f Improve type hints in logi_circle tests (#121518) 2024-07-08 13:30:29 +02:00
epenetandGitHub f7825eb5b1 Improve type hints in lyric tests (#121517) 2024-07-08 13:30:01 +02:00
Kevin StillhammerandGitHub 8ab6a505a4 Write data to state after Broadlink entity added (#121493)
* Write data to ha after entity added

* Properly mock api return values

Some values like _attr_is_on were mapped to MagicMocks which led to them evaluating to True. Actually calling the update state method when adding the entities made that improper mocking come to the surface.

* Call _update_state instead of _recv_data
2024-07-08 13:15:17 +02:00
epenetandGitHub 242b28377d Improve type hints in kodi tests (#121508) 2024-07-08 12:57:52 +02:00
epenetandGitHub b048ad8afe Improve type hints in iqvia tests (#121506) 2024-07-08 12:57:19 +02:00
epenetandGitHub 148803460b Improve type hints in kitchen_sink tests (#121509) 2024-07-08 12:54:43 +02:00
epenetandGitHub c4c623ea99 Improve type hints in kulersky tests (#121510) 2024-07-08 12:54:18 +02:00
epenetandGitHub 4d68ae1199 Improve type hints in ipma tests (#121501) 2024-07-08 11:38:27 +02:00
epenetandGitHub 3059bf0536 Improve type hints in insteon tests (#121504) 2024-07-08 11:34:50 +02:00
Paulus SchoutsenandGitHub 1aa9588dcb Include hass device ID in mobile app get_config webhook (#121496) 2024-07-08 11:00:21 +02:00
J. Nick KostonandGitHub 27a2114ba9 Bump yalexs to 6.4.2 (#121467) 2024-07-07 13:41:31 -07:00
Jan BouwhuisandGitHub 8a28cbe9e2 Wait for conversation test init (#121464)
* Wait for conversation test init

* typo
2024-07-07 22:24:20 +02:00
MichaelandGitHub 0558e480ce Add event entity to Feedreader (#118147) 2024-07-07 21:44:41 +02:00
f126360c67 Add Mealie service to get mealplan (#120824)
Co-authored-by: Robert Resch <robert@resch.dev>
2024-07-07 21:19:20 +02:00
G JohanssonandGitHub 833ac4db49 Add config flow to history_stats helper (#121381) 2024-07-07 21:06:37 +02:00
David KnowlesandGitHub 72458d143d Add valve support to Hydrawise (#116302) 2024-07-07 20:42:45 +02:00
12228d8a00 Add madvr envy integration (#120382)
* feat: Add madvr envy

* fix: await and pass entry directly

* fix: add attributes and unique id for sensors

* fix: reflect power state well, improve state detection

* fix: don't connect on init, add options, add reload on change, keep on during test

* fix: cancel tasks on unload

* fix: test connection via library

* fix: wait for boot time

* docs: add readme and license

* fix: broken pipe in lib

* fix: detect out of band power off

* fix: improve extra attributes

* fix: fix unloading, add config flow test, limit to one platform

* fix: use conf, refresh coordinator, other comments

* fix: remove event data

* fix: fix tests passing, remove wake on lan

* fix: dont allow to proceed unless connection works

* chore: update dep

* fix: update config flow, add constants

* fix: write state, use runtime data instead

* fix: remove await

* fix: move unloading and stuff to coordinator/init

* fix: pass in config entry with correct type

* fix: move queue and tasks to library

* fix: config flow error flow, tests, name, and update lib

* fix: update lib, leave connection open on setup

* fix: update lib

* fix: address comments, remove wol from lib

* fix: remove unneeded options

* fix: remove fields

* fix: simplify code, address comments

* fix: move error to lib

* fix: fix test

* fix: stronger types

* fix: update lib

* fix: missing text from options flow

* chore: remove options flow

* chore: remove import

* chore: update comments

* fix: get mac from device, persist

* fix: add mac stuff to test

* fix: startup import errors

* chore: stale comment

* fix: get mac from persisted config

* chore: update lib

* fix: persist mac in a better way

* feat: use mac as unique ID for entry

* fix: use unique ID from mac, add proper device

* fix: will not be set in init potentially

* fix: access mac

* fix: optimize, move error to lib

* feat: add coordinator test, use conf

* fix: use one mock, add init test

* fix: not async

* feat: add remote test

* fix: types

* fix: patch client, expand remote tests

* fix: use snapshot test

* fix: update branding

* fix: add description, fix type check

* fix: update tests

* fix: test

* fix: update test

* fix: camelcase

* Fix

* feat: strict typing

* fix: strict typing in lib

* fix: type will never be None

* fix: reference to mac, all tests passing

---------

Co-authored-by: Joostlek <joostlek@outlook.com>
2024-07-07 20:41:53 +02:00
cd72bdd851 Add Prometheus fan_mode and climate_mode metrics (#120267)
Co-authored-by: Anton Tolchanov <1687799+knyar@users.noreply.github.com>
2024-07-07 19:39:54 +02:00
G JohanssonandGitHub 26bc37195e Add defrosting as HVACAction in ClimateEntity (#121448) 2024-07-07 18:54:40 +02:00
Robert ContrerasandGitHub 2def33b168 Home Connect unit tests for switch platform (#115456) 2024-07-07 18:30:59 +02:00
Mr. BubblesandGitHub 751935539a Migrate Habitica Dailies and To-Do's to the todo platform (#116655)
* Add todo platform

* update for DataUpdateCoordinator

* set lastCron as dailies due date

* parse alternative duedate format

* fix tests

* send notification on item drop

* fix drop message

* update exception messages

* Simplified the update of user_fields by using set union

* move userFields to const

* Issue deprecation only if entity is acutally used

* Resolve issues

* user entity registry to get entity_id

* raise ServiceValidationError

* requested changes

* Move next_due_date helper function to util.py module

* some changes

* Move function to util.py
2024-07-07 17:50:27 +02:00
Joost LekkerkerkerandGitHub 1fefd396b9 Add mealie version to device info (#121443) 2024-07-07 17:13:15 +02:00
Clifford RocheandGitHub 27975c7517 Fix incorrect temperature in Gree if temp units changed on device (#121041) 2024-07-07 17:05:14 +02:00
b6609fa77c Deprecate the dynamic package sensors in seventeentrack (#116102)
* Add deprecation comments for the dynamic package sensors

* Add deprecation comments for the dynamic package sensors

* Add deprecation comments for the dynamic package sensors

add more information when retrieving packages from service call

* Add deprecation comments for the dynamic package sensors

update deprecation comment

* 1. 17Track repair flow
2. update deprecation comment

* 1. remove description_placeholders
2. 2024.8 deprecated

* Update homeassistant/components/seventeentrack/repairs.py

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

* 1. extract deprecated to constant
2. fix types
3. check for issue_id
4. add listener only when not deprecated
5. update which service to call

* Update homeassistant/components/seventeentrack/strings.json

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

* Update homeassistant/components/seventeentrack/repairs.py

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

* 1. move deprecate_sensor_issue to where needed
2. add entry_id to issue_id
3. use constant where needed

* update breaks in ha version

* Update homeassistant/components/seventeentrack/strings.json

* Remove obsolete tests

* Fix

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-07-07 16:55:38 +02:00
6937aed9fe Handle more pushover exceptions during setup (#115802)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2024-07-07 16:36:16 +02:00
9b4e64ab62 Bump pydaikin to 2.13.1 (#118679)
Co-authored-by: Fredrik Erlandsson <fredrik.e@gmail.com>
2024-07-07 16:34:05 +02:00
275a7499b1 Add prometheus fan handler (#119805)
Co-authored-by: Anton Tolchanov <1687799+knyar@users.noreply.github.com>
2024-07-07 16:32:15 +02:00
SidandGitHub e2141dc208 Add _attr class attributes to TextToSpeechEntity (#115684) 2024-07-07 16:21:04 +02:00