* added service validation for send file
* update strings
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* updated exception in tests
* removed TypeError since it is not thrown
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Bump to 2.0.2 with all necessary changes
* bump to prerelease
* add addiional tests
* Bump to homematicip 2.0.3
* do not delete device
* Setup BRAND_SWITCH_MEASURING as light
* bump to 2.0.4
* refactor test_remove_obsolete_entities
* move test
* use const from homematicip lib
* Restore entity ID and user customizations of deleted entities
* Clear removed areas, categories and labels from deleted entities
* Correct test
* Fix logic for disabled_by and hidden_by
* Improve test coverage
* Fix sorting
* Always restore disabled_by and hidden_by
* Update mqtt test
* Update pglab tests
* Update switch_as_x to handle wrapped switch moved to another device
* Reload switch_as_x config entry after updating device
* Make sure the switch_as_x entity is not removed
* Add config option for controlling Ollama think parameter
Allows enabling or disable thinking for supported models. Neither option
will dislay thinking content in the chat. Future support for displaying
think content will require frontend changes for formatting.
* Add thinking strings
* 2nd attempt to add energysensors to Adax component
* Ruff format changes
* I did not reuse the first call for information.. Now i do..
* Fixed some tests after the last change
* Remove extra attributes
* Dont use info logger
* aggregate if not rooms
* Raise error if no rooms are discovered
* Move code out of try catch
* Catch more specific errors
* removed platforms from manifest.json
* remove attribute translation key
* Getting rid of the summation of energy used..
* Fixed errorness in test
* set roomproperty in Init
* concatenated the two functions
* use raw Wh values and suggest a konversion for HomeAssistant
* Use snapshot testing
* Update homeassistant/components/adax/coordinator.py
Co-authored-by: Josef Zweck <josef@zweck.dev>
* Update homeassistant/components/adax/strings.json
Co-authored-by: Josef Zweck <josef@zweck.dev>
* Update homeassistant/components/adax/sensor.py
Co-authored-by: Josef Zweck <josef@zweck.dev>
* Update homeassistant/components/adax/sensor.py
Co-authored-by: Josef Zweck <josef@zweck.dev>
* Update homeassistant/components/adax/sensor.py
Co-authored-by: Josef Zweck <josef@zweck.dev>
* Update homeassistant/components/adax/sensor.py
Co-authored-by: Josef Zweck <josef@zweck.dev>
* Removing un needed logg
* Removing initial value
* Changing tests to snapshot_platform
* Removing available property from sensor.py and doing a ruff formating..
* Fix a broken indent
* Add fix for coordinator updates in Adax energisensor and namesetting
* Update homeassistant/components/adax/sensor.py
Co-authored-by: Josef Zweck <josef@zweck.dev>
* Update homeassistant/components/adax/coordinator.py
Co-authored-by: Josef Zweck <josef@zweck.dev>
* Update homeassistant/components/adax/coordinator.py
Co-authored-by: Josef Zweck <josef@zweck.dev>
* Update homeassistant/components/adax/sensor.py
Co-authored-by: Josef Zweck <josef@zweck.dev>
* generated snapshots
* Ruff changes
* Even more ruff changes, that did not appear on ruff command locally
* Trying to fix CI updates
* Update homeassistant/components/adax/sensor.py
Co-authored-by: Josef Zweck <josef@zweck.dev>
* Improve AdaxEnergySensor by simplifying code and ensuring correct handling of energy values. Adjust how room and device information is retrieved to avoid duplication and improve readability.
* Removed a test för device_id as per request..
* Make supersure that value is int and not "Any"
* removing executable status
* Update tests/components/adax/test_sensor.py
Co-authored-by: Josef Zweck <josef@zweck.dev>
---------
Co-authored-by: Josef Zweck <josef@zweck.dev>
* added config flow for telegram integration
* added chat id in config entry title and added config flow tests
* fix import issue when there are no notifiers in configuration.yaml
* Revert "fix import issue when there are no notifiers in configuration.yaml"
This reverts commit b5b83e2a9a.
* Revert "added chat id in config entry title and added config flow tests"
This reverts commit 30c2bb4ae4.
* Revert "added config flow for telegram integration"
This reverts commit 1f44afcd45.
* added config and subentry flows
* added options flow to configure webhooks
* refactor module setup so it only load once
* moved service registration from async_setup_entry to async_setup
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* import only last yaml config
* import only last yaml config
* reduced scope of try-block
* create issue when importing from yaml
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* handle options update by reloading telegram bot
* handle import errors for create issue
* include bot's platform when creating issues
* handle options reload without needing HA restart
* moved url and trusted_networks inputs from options to new config flow step
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* minor fixes
* refactor config flow
* moved constants to const.py
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/telegram_bot/config_flow.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/telegram_bot/config_flow.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/telegram_bot/config_flow.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* added options flow tests
* Update homeassistant/components/telegram_bot/__init__.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/telegram_bot/__init__.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/telegram_bot/__init__.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/telegram_bot/config_flow.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/telegram_bot/config_flow.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* added reconfigure flow
* added reauth flow
* added tests for reconfigure flow
* added tests for reauth
* added tests for subentry flow
* added tests for user and webhooks flow with error scenarios
* added import flow tests
* handle webhook deregister exception
* added config entry id to all services
* fix leave chat bug
* Update homeassistant/components/telegram_bot/__init__.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* removed leave chat bug fixes
* Update homeassistant/components/telegram_bot/strings.json
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* handle other error types for import
* reuse translations
* added test for duplicated config entry for user step
* added tests
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>