* 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>
* Bump go2rtc-client to 0.2.0
* Bump go2rtc-client to 0.2.1
* Clean up hassfest exception
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* 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 b5b83e2a9a5d8cd1572f3e8c36e360b0de80b58b.
* Revert "added chat id in config entry title and added config flow tests"
This reverts commit 30c2bb4ae4d850dae931a5f7e1525cf19e3be5d8.
* Revert "added config flow for telegram integration"
This reverts commit 1f44afcd45e3a017b8c5f681dc39a160617018ce.
* 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>