* Add AI Task integration
* Remove GenTextTaskType
* Add AI Task prefs
* Add action to LLM task
* Remove WS command
* Rename result to text for GenTextTaskResult
* Apply suggestions from code review
Co-authored-by: Allen Porter <allen.porter@gmail.com>
* Add supported feature for generate text
* Update const.py
Co-authored-by: HarvsG <11440490+HarvsG@users.noreply.github.com>
* Update homeassistant/components/ai_task/services.yaml
Co-authored-by: HarvsG <11440490+HarvsG@users.noreply.github.com>
* Use WS API to set preferences
* Simplify pref storage
* Simplify pref test
* Update homeassistant/components/ai_task/services.yaml
Co-authored-by: Allen Porter <allen.porter@gmail.com>
---------
Co-authored-by: Allen Porter <allen.porter@gmail.com>
Co-authored-by: HarvsG <11440490+HarvsG@users.noreply.github.com>
* area conversions
* start work on tests
* add number device class
* update unit conversions to utilise distance constants
* add area unit
* update test unit system
* update device condition and trigger
* update statistic unit converters
* further tests work WIP
* update test unit system
* add missing string translations
* fix websocket tests
* add deprecated notice
* add more missing strings and missing initialisation of unit system
* adjust icon and remove strings from scrape and random
* Fix acre to meters conversion
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Tidy up valid units
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* fix ordering of area
* update order alphabetically
* fix broken test
* update test_init
* Update homeassistant/const.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* remove deprecated unit and fix alphabetical order
* change deprecation and add tests, change to millimeter conversion for inches
* fix order
* re-order defs alphabetically
* add measurement as well
* update icons
* fix up Deprecation of area square meters
* Update core integrations to UnitOfArea
* update test recorder tests
* unit system tests in alphabetical
* update snapshot
* rebuild
* revert alphabetization of functions
* other revert of alphabetical order
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>