Commit Graph
69757 Commits
Author SHA1 Message Date
Joost LekkerkerkerandGitHub 283ff4fada Add Adax to strict typing (#105562) 2023-12-12 21:29:18 +01:00
J. Nick KostonandGitHub f002a6a732 Refactor all Bluetooth scanners to inherit from BaseHaRemoteScanner (#105523) 2023-12-12 21:28:43 +01:00
Erik MontnemeryandGitHub 5bd0833f49 Improve FrozenOrThawed (#105541) 2023-12-12 21:19:41 +01:00
8bd265c3ae Add Fastdotcom service (#105553)
* Add service for manual control

* Proper naming

* Removing old translation

* Reverting back service

* Removig services.yaml

* Putting back in service

* Putting back in service description and yaml

* Proper naming

* Adding create_issue

* Feedback fixes

* Fix deprecation date in strings

* Update homeassistant/components/fastdotcom/__init__.py

* Update homeassistant/components/fastdotcom/strings.json

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-12-12 21:18:12 +01:00
Joost LekkerkerkerandGitHub 0e5d72a501 Add Android IP webcam to strict typing (#105570) 2023-12-12 20:54:35 +01:00
Joost LekkerkerkerandGitHub 84bffcd2e1 Add Aranet to strict typing (#105577) 2023-12-12 20:54:00 +01:00
Joost LekkerkerkerandGitHub 09b07c071b Add Apprise to strict typing (#105575) 2023-12-12 20:53:36 +01:00
Erwin DounaandGitHub 32147dbdd9 Bump PyTado to 0.17.0 (#105573) 2023-12-12 20:52:59 +01:00
Jan-Philipp BeneckeandGitHub d33aa6b8e7 Migrate homematicip_cloud tests to use freezegun (#105592) 2023-12-12 20:51:32 +01:00
G JohanssonandGitHub 4ad16b56f2 Fix setup Fast.com (#105580)
* Fix setup fastdotcom

* Add if
2023-12-12 20:43:09 +01:00
J. Nick KostonandGitHub 54d314d1d0 Bump aioesphomeapi to 20.0.0 (#105586)
changelog: https://github.com/esphome/aioesphomeapi/compare/v19.3.1...v20.0.0

- Add happy eyeballs support (RFC 8305) (#789)

Note that nothing much happens yet on the HA side since
we only pass one IP in so its always going to fallback
at this point
2023-12-12 08:41:50 -10:00
J. Nick KostonandGitHub f58af0d717 Bump aiohomekit to 3.1.0 (#105584) 2023-12-12 19:07:20 +01:00
J. Nick KostonandGitHub c7a95d5654 Bump dbus-fast to 2.21.0 (#105536) 2023-12-12 07:55:12 -10:00
J. Nick KostonandGitHub ec1cde77f6 Add support for Happy Eyeballs to homekit_controller (#105454) 2023-12-12 07:54:33 -10:00
Joost LekkerkerkerandGitHub 64c3cfca17 Add Airvisual pro to strict typing (#105568) 2023-12-12 17:27:41 +01:00
Jan BouwhuisandGitHub 280637822b Use mocked entity platform for lock service tests (#105020)
* Use mocked entity platform for lock service tests

* Cleanup old mock class

* Follow up on code review

* Improve mock entity platform

* Use entity_id of passed entity instead of constant
2023-12-12 15:49:01 +01:00
Joost LekkerkerkerandGitHub 5c514b6b19 Add Suez Water to strict typing (#105559) 2023-12-12 14:44:17 +01:00
Martin HjelmareandGitHub 2631fde0f7 Patch aiohttp server app router freeze in tests (#105555)
* Add test for registering a http view late

* Patch aiohttp server app router freeze

* Correct language
2023-12-12 14:40:38 +01:00
Erwin DounaandGitHub fb615817b4 Add Tado error handling to fetching devices (#105546) 2023-12-12 10:55:22 +01:00
9d44dc4437 Add Fast.com Device Info (#105528)
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-12-12 10:41:00 +01:00
Erik MontnemeryandGitHub 6908497c3d Add minor version to config entries (#105479) 2023-12-12 08:44:35 +01:00
ac656847cb Bump pyhiveapi to v0.5.16 (#105513)
Co-authored-by: Khole Jones <khole.jones@frasers.group>
2023-12-12 08:38:12 +01:00
J. Nick KostonandGitHub e2abd3b8d0 Bump bluetooth libraries (#105522) 2023-12-12 08:31:23 +01:00
Jan-Philipp BeneckeandGitHub 4859226496 Migrate geonetnz_* tests to use freezegun (#105521) 2023-12-12 08:30:08 +01:00
Jan-Philipp BeneckeandGitHub 319d6db55b Migrate device_sun_light_trigger tests to use freezegun (#105520) 2023-12-12 08:29:10 +01:00
Jan BouwhuisandGitHub a66c9bb7b6 Update stale doc strings in entity platform tests (#105526) 2023-12-12 08:28:08 +01:00
J. Nick KostonandGitHub f4ee2a1ab4 Bump anyio to 4.1.0 (#105529) 2023-12-12 08:24:24 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
324aa171c6 Bump sigstore/cosign-installer from 3.2.0 to 3.3.0 (#105537)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-12 08:20:26 +01:00
Diogo GomesandGitHub 54c218c139 Updates V2C sensor icons (#105534)
update icons
2023-12-12 08:17:09 +01:00
Brett AdamsandGitHub 8922c93259 Improve tests in Tessie (#105430) 2023-12-11 20:30:54 -10:00
Julien "_FrnchFrgg_" RivaudandGitHub bf9c2a08b7 Bump caldav to 1.3.8 (#105508)
* Bump caldav to 1.3.8

1.3.8 fixes a bug where duplicate STATUS properties would be emitted for a single VTODO depending on the case of the arguments used.

That bug meant that even though that is the intended API usage, passing lowercase for the status argument name would be rejected by caldav servers checking conformance with the spec which forbids duplicate STATUS.

This in turn prevented HomeAssistant to add new items to a caldav todo list.

Bump the requirements to 1.3.8 to repair that feature

* Update global requirements
2023-12-11 19:42:52 -08:00
Erik MontnemeryandGitHub d4cf049016 Remove unneeded class _EntityDescriptionBase (#105518) 2023-12-11 23:10:11 +01:00
Maciej BieniekandGitHub bf93929826 Add support for Shelly Gen3 devices (#104874)
* Add support for Gen3 devices

* Add RPC_GENERATIONS const

* Add gen3 to tests

* More tests

* Add BLOCK_GENERATIONS const

* Use *_GENERATIONS constants from aioshelly
2023-12-11 22:58:56 +01:00
662e19999d Add Fastdotcom DataUpdateCoordinator (#104839)
* Adding DataUpdateCoordinator

* Updating and adding test cases

* Optimizing test

* Fix typing

* Prevent speedtest at startup

* Removing typing on Coordinator

* Update homeassistant/components/fastdotcom/coordinator.py

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

* Putting back typing

* Update homeassistant/components/fastdotcom/__init__.py

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

* Adding proper StateType typing

* Fix linting

* Stricter typing

* Creating proper test case for coordinator

* Fixing typo

* Patching librbary

* Adding unavailable state test

* Putting back in asserts

* Update tests/components/fastdotcom/test_coordinator.py

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

* Update tests/components/fastdotcom/test_coordinator.py

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

* Update tests/components/fastdotcom/test_coordinator.py

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

* Update tests/components/fastdotcom/test_coordinator.py

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

* Update tests/components/fastdotcom/test_coordinator.py

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

* Coordinator workable proposal

* Update tests/components/fastdotcom/test_coordinator.py

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

* Working test cases

* Update tests/components/fastdotcom/test_coordinator.py

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

* Update tests/components/fastdotcom/test_coordinator.py

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

* Update tests/components/fastdotcom/test_coordinator.py

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

* Update tests/components/fastdotcom/test_coordinator.py

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

* Fixing tests and context

* Fix the freezer interval to 59 minutes

* Fix test

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-12-11 22:28:04 +01:00
Joost LekkerkerkerandGitHub a187a39f0b Add config flow to Suez water (#104730)
* Add config flow to Suez water

* fix tests

* Complete coverage

* Change version to 2024.7

* Fix final test

* Add issue when import is successful

* Move hassdata

* Do unique_id

* Remove import issue when entry already exists

* Remove import issue when entry already exists
2023-12-11 22:06:16 +01:00
J. Nick KostonandGitHub e890671192 Relocate Bluetooth manager to habluetooth library (#105110)
* Relocate Bluetooth manager to habluetooth library

* Relocate Bluetooth manager to habluetooth library

* Relocate Bluetooth manager to habluetooth library

* fixes

* fix patching time

* fix more tests

* fix more tests

* split

* Bump habluetooth to 0.7.0

changelog: https://github.com/Bluetooth-Devices/habluetooth/compare/v0.6.1...v0.7.0

This is the big change that will move the manager so the HA
PR that will follow this will be a bit larger than the rest of them
since the manager is connected to everything

* fix types

* fix types

* fix types

* fix patch targets

* fix flakey logbook tests (will need another PR)

* mock shutdown

* bump again

* value can be a float now

* Revert "value can be a float now"

This reverts commit b7e7127143.

* float
2023-12-11 15:42:00 -05:00
Erwin DounaandGitHub 0dc61b3493 Add typing in Melcloud config flow (#105510)
* Add typing in config flow

* Patching functions with typing
2023-12-11 20:30:19 +01:00
Erik MontnemeryandGitHub dd338799d4 Make it possible to inherit EntityDescription in frozen and mutable dataclasses (#105211) 2023-12-11 20:00:55 +01:00
Joakim PlateandGitHub bb0d082b25 Correctly report unavailable battery for value 255 of percentage (#104566)
* Ignore unavailable battery level for zha

* Adjust unavailable test
2023-12-11 19:17:06 +01:00
Stefan AgnerandGitHub 837ce99e30 Add Raspberry Pi 5 specific container image (#105488) 2023-12-11 17:39:48 +01:00
starkillerOGandGitHub d1ea04152a Bump reolink_aio to 0.8.3 (#105489) 2023-12-11 17:37:15 +01:00
Marc MuellerandGitHub 6c2b3ef950 Update typing-extensions to 4.9.0 (#105490) 2023-12-11 17:30:24 +01:00
Michael HansenandGitHub 80607f7750 Disconnect before reconnecting to satellite (#105500)
Disconnect before reconnecting
2023-12-11 11:18:46 -05:00
Marc MuellerandGitHub b71f488d3e Update pylint to 3.0.3 (#105491) 2023-12-11 17:04:07 +01:00
Erik MontnemeryandGitHub 94fd7d0353 Improve test of config entry store (#105487)
* Improve test of config entry store

* Tweak test
2023-12-11 10:48:12 -05:00
Alex ThompsonandGitHub 4c0fda9ca0 Fix Lyric LCC thermostats auto mode (#104853) 2023-12-11 16:27:02 +01:00
jan iversenandGitHub 3963f59121 Reduce modbus validator for "swap" (remove special handling) (#105021) 2023-12-11 16:12:32 +01:00
Stefan AgnerandGitHub 44e54e11d8 Follow Alpine 3.18 raspberrypi package updates (#105486)
Alpine 3.18 renamed the packages raspberrypi and raspberrypi-libs to
raspberrypi-userland and raspberrypi-userland-libs respectively. Follow
that rename. With this moderniziation raspistill and friends now gets
deployed to /usr/bin, which makes any symlinks obsolete.

Note that there is and was never a 64-bit variant of raspistill. So
these symlinks were essentially useless all along.

This effectively doesn't change anything for users: Alpine automatically
installed the renamed package already and Home Assistant Core picked
up the raspistill binary from /usr/bin already.
2023-12-11 15:58:51 +01:00
1242456ff1 Bump openai end switch from dall-e-2 to dall-e-3 (#104998)
* Bump openai

* Fix tests

* Apply suggestions from code review

* Undo conftest changes

* Raise repasir issue

* Explicitly use async mock for chat.completions.create

It is not always detected correctly as async because it uses a decorator

* removed duplicated message

* ruff

* Compatibility with old pydantic versions

* Compatibility with old pydantic versions

* More tests

* Apply suggestions from code review

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* Apply suggestions from code review

---------

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2023-12-11 09:47:26 -05:00
G JohanssonandGitHub c0314cd05c Make Workday UI setup nicer (#105407) 2023-12-11 14:06:29 +01:00