* Remove CONF_NAME in config entry
* Revert config entry version from 4 back to 3
* Add data_description for address in strings.json
* Use config entry title as coordinator name
* Use constant as mock config entry title
* Fix proximity distance calculation
The distance is now calculated to the edge of the zone instead of the centre
* Adjust proximity test expectations to corrected distance calculation
* Add proximity tests for zone changes
* Improve comment on proximity distance calculation
Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
* Apply suggestions from code review
---------
Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
* Gemini: Allow arbitrary attachments
This lets me use Gemini to extract information from PDFs, HTML, or other files.
* Gemini: Only add deprecation warning when deprecated parameter has a value
* Gemini: Use Files.upload() for both images and other files
This simplifies the code.
Within the Google client, this takes a different codepath (it uploads images as a file instead of re-saving them into inline bytes). I think that's a feature (it's probably more efficient?).
* Gemini: Deduplicate filenames
* Fix minimum version to run event_id_post_migration
The table rebuild to fix the foreign key constraint was added
in https://github.com/home-assistant/core/pull/120779 but the
schema version was not bumped so we need to make sure
any database that was created with schema 43 or older
still has the migration run as otherwise they will not
be able to purge the database with SQLite since each
delete in the events table will due a full table scan
of the states table to look for a foreign key that is
not there
fixes#138818
* Apply suggestions from code review
* Update homeassistant/components/recorder/migration.py
* Update homeassistant/components/recorder/migration.py
* Update homeassistant/components/recorder/const.py
* Apply suggestions from code review
* Apply suggestions from code review
* Apply suggestions from code review
* Apply suggestions from code review
* update tests, add more cover
* update tests, add more cover
* Update tests/components/recorder/test_migration_run_time_migrations_remember.py
* Add program options as entities
* Use program options constraints
* Only fetch the available options on refresh
* Extract the option definitions getter from the loop
* Add the option entities only when it is required
* Fix typo
* Swapped the old GenAI client with the newly realeased one
* Fixed the Generate Content Action, Config Flow loading and code cleanup
* Add a function to mask the issues with Tools which start with Hass
* Fix most tests
* google-genai==1.1.0
* fixes
* Fixed the remaining tests
* Adressed comments
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: tronikos <tronikos@users.noreply.github.com>
Every few days we get an issue report about a device a user ignored and forgot about, and than can no longer get set up. Sometimes its a govee device, sometimes its a switchbot device, but the pattern is consistent.
Allow ignored devices to be selected in the user step and replace the ignored entry.
Same as #137056 and #137052 but for thermobeacon
* Migrate `self._probed_firmware_type` to `self._probed_firmware_info`
* Migrate from `firmware_type` to the full `firmware_info`
* Implement `probe_silabs_firmware_type` via `probe_silabs_firmware_info`
* Fix unit tests
* Increase coverage
* Bring test coverage to 100%
* Simplify test per review comment
* Add entry_on_state_change_helper
* undo black
* remove unload
* no coro
* Add tests
* Don't accept coro
* Review feedback
* Add error test
* Make it callback type
* Make it callback type
* Removal test
* change type