* Add missing Heatpump parameters and units
* Fix merge issue
* Fix snapshot
* Removing bundle_id as extra state attribute till functionality is needed and updating api translation with missing phrase
* Fix translations for listparameters
* Fix translations for listparameters
* Capitalize "PIN to Drive" as feature name in `teslemetry`
Fixes the spelling of "PIN" for consistency and turns "PIN to Drive" into the feature name that Tesla uses (in English).
* Update test_binary_sensor.ambr
* Add password length restriction
* Bump reolink-aio to 0.12.3
* Add repair issue for too long password
* finish password too long repair issue
* add test
* Refactor zwave_js config entry setup
* Fix blocking update test
* Address timeout comment
* Remove platform tasks
* Replace deprecated async_add_job
* Use ConfigEntry.async_on_state_change
* Use modern config entry methods
* Clarify exception message
* Test listen error after config entry setup
* Test listen failure during setup after forward entry
* Test not reloading when hass is stopping
* Test client disconnect is called on entry unload
* Fix and test client not connected during driver setup
* Fix and test driver ready timeout
* Stringify listen task exception when logging
* Use identity compare
* Guard for closed connection
* Consolidate listen task checking and tests
* Fix initial fetch of appliance data to handle API rate limit errors
* Apply comments
* Delete stale function
* Handle api rate limit error at options fetching
* Update appliances after stream non-breaking error
* Always initialize coordinator data
* Improve device update
* Update test description
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* update map on status change
* Update tests/components/roborock/test_image.py
Co-authored-by: Allen Porter <allen.porter@gmail.com>
* update code to handle state logic within async_update_data
* Update homeassistant/components/roborock/coordinator.py
Co-authored-by: Allen Porter <allen.porter@gmail.com>
* move previous_state and allow update on None
---------
Co-authored-by: Allen Porter <allen.porter@gmail.com>
* Move MapData to Coordinator
* seeing if mypy likes this
* delete dead code
* Some MR comments
* remove MapData and always update on startup if we don't have a stored map.
* don't do on demand updates
* remove unneeded logic and pull out map save
* Apply suggestions from code review
Co-authored-by: Allen Porter <allen.porter@gmail.com>
* see if mypy is happy
---------
Co-authored-by: Allen Porter <allen.porter@gmail.com>
* Update MCP server to not register the stateless API, but use it implicitly as an Assist API replacement
* Ensure backwards compatibility with old registration
* Add Crossline smart AI binary sensor
* Add intrusion, lingering, forgotten item, item taken detection
* Use unique_index instead of location for unique_id
* Add test
* Apply suggestions from code review
Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com>
* Name changes
* Update homeassistant/components/reolink/binary_sensor.py
Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com>
* Use smart_type instead of key
* Use occupancy translation instead of gas (point to the same thing).
* Revert "Use occupancy translation instead of gas (point to the same thing)."
This reverts commit 9caf796585.
* fix styling
---------
Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com>
* Update config_entry_oauth2_flow.py
* Specify type on request_data
* Added LocalOAuth2ImplementationWithPkce
* LocalOAuth2ImplementationWithPkce works more like specs
* fix: Adding tests for pkce flow and feedback applied
* fix last test for pkce
* Clean test_abort_if_oauth_with_pkce_rejected
* Improve assertion of code verifier and code challenge
* Break long docstrings
* Shorten docstring
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* style: rename humidifier night const
* fix: separate night light for fan and humidifier
Check for the presence of set_night_light_brightness and
set_night_light to indentify humidifier and fan devices.
set_night_light is defined on VeSyncAirBypass and
set_night_light_brightness is defined on VeSyncHumid200300S.
update test
* Add price cap support
* Change service input to box mode
* Add icon for set_price_cap service
* Improve test coverage
* Change ohme service description wording
* Add remote_calendar with storage
* Use coordinator and remove storage
* cleanup
* cleanup
* remove init from config_flow
* add some tests
* some fixes
* test-before-setup
* fix error handling
* remove unneeded code
* fix updates
* load calendar in the event loop
* allow redirects
* test_update_failed
* tests
* address review
* use error from local_calendar
* adress more comments
* remove unique_id
* add unique entity_id
* add excemption
* abort_entries_match
* unique_id
* add ,
* cleanup
* deduplicate call
* don't raise for status end de-nest
* multiline
* test
* tests
* use raise_for_status again
* use respx
* just use config_entry argument that already is defined
* Also assert on the config entry result title and data
* improve config_flow
* update quality scale
* address review
---------
Co-authored-by: Allen Porter <allen@thebends.org>
* Add sensor values for Power and Energy
* test
* test
* Sensor test
* Fix test
* fix test
* Fixing test coverage
* refactored
* WolfllinkSensorEntityDescriptions and updated tests
* fix test
* Add name_fn and test_sensor adoptions
* fix test coverage
* Revert "fix test coverage"
This reverts commit 2405751f5a.
* resolve requested changes and fix test
* Fix Snapshot
* clean up
* Fixed unknown state in snapshot test
* Aded Generate Content Service for OpenAI to match Google AI
* Fixed code for commit checks
* Addressed code review comments
* Address review comments
* Addressed @balloob review comments.
* Address futher review comments from @balloob
* Seperate entities to a new dock device
* update entity names
* Update homeassistant/components/roborock/coordinator.py
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
* Initial implementation of hardware update model
* Fixes
* WIP: change the `homeassistant_sky_connect` integration type
* More fixes
* WIP
* Display firmware info in the device page
* Make progress more responsive
* WIP: Yellow
* Abstract the bootloader reset type
* Clean up comments
* Make the Yellow integration non-hardware
* Use the correct radio device for Yellow
* Avoid hardcoding strings
* Use `FIRMWARE_VERSION` within config flows
* Fix up unit tests
* Revert integration type changes
* Rewrite hardware ownership context manager name, for clarity
* Move manifest parsing logic into a new package
Pass the correct type to the firmware API library
* Create and delete entities instead of mutating the entity description
* Move entity replacement into a `async_setup_entry` callback
* Change update entity category from "diagnostic" to "config"
* Have the client library handle firmware fetching
* Switch from dispatcher to `async_on_state_change`
* Remove unnecessary type annotation on base update entity
* Simplify state recomputation
* Remove device registry code, since the devices will not be visible
* Further simplify state computation
* Give the device-less update entity a more descriptive name
* Limit state changes to integer increments when sending firmware update progress
* Re-raise `HomeAssistantError` if there is a problem during flashing
* Remove unnecessary state write during entity creation
* Rename `_maybe_recompute_state` to `_update_attributes`
* Bump the flasher to 0.0.30
* Add some tests
* Ensure the update entity has a sensible name
* Initial ZBT-1 unit tests
* Replace `_update_config_entry_after_install` with a more explicit `_firmware_info_callback` override
* Write the firmware version to the config entry as well
* Test the hardware update platform independently
* Add unit tests to the Yellow and ZBT-1 integrations
* Load firmware info from the config entry when creating the update entity
* Test entity state restoration
* Test the reloading of integrations marked as "owning"
* Test installation failure cases
* Test firmware type change callback failure case
* Address review comments
* Add initial MQTT subentry support for notify entities
* Fix componts assigment is reset on device config. Translation tweaks
* Rephrase
* Go to summary menu when components are set up already - add test
* Fix suggested device info on config flow
* Invert
* Simplify subentry config flow and omit menu
* Use constants instead of literals
* More constants
* Teak some translations
* Only show save when the the entry is dirty
* Do not trigger an entry reload twice
* Remove encoding, entity_category
* Remove icon from mqtt subentry flow
* Separate entity settings and MQTT specific settings
* Remove object_id and refactor
* Migrate translations
* Make subconfig flow test extensible
* Make sub reconfig flow tests extensible
* Rename entity_platform_config step to mqtt_platform_config
* Make component unique ID independent from the name
* Move code for update of component data to helper
* Follow up on code review
* Skip dirty stuff
* Fix rebase issues #1
* Do not allow reconfig for entity platform/name, default QoS and refactor tests
* Add entity platform and entity name label to basic entity config dialog
* Rename to exclude_from_reconfig and make reconfig option not optional
* Use correct unit symbol "min" for minutes in `webmin` integration
Replace the unit symbol "m" which stands for meter with the correct SI uni symbol "min".
* Update test_sensor.ambr
* Update test_sensor.ambr (2)
* Added the hvac action attribute for modbus climate entities.
* Fixed issue in hvac action unit test, was incorrectly referencing the hvac mode attribute.
* Fixed the modbus climate test for hvac action, it now correctly checks that hvac actions in the config match HVACActions.
* Made changes recommended by @crug80 to remove dead code and to add ability to use input or holding register for hvac action.
* Moved action test case in test_climate.py
* Updated comment for `test_service_climate_action_update`
* Fixed ruff formatting error.
* Addressed request to update labels from `state_*` to `action_*`
* Fix bug with all maps being set to the same when empty
* fix parens
* fix other parens
* rework some of the logic
* few small updates
* Remove test that is no longer relevant
* remove updated time bump
* Update hdate version
* Update code to reflect changes from hdate==1.0.0
* Fix some tests
* Fix parasha tests
* Fix holiday tests
* Cleanup holidays changes
* Zmanim objects should now access the local attribute
* Fix binary sensors
* Update test values on upcoming shabbat times
* Update hdate to 1.0.1
* Adapt to changes from 1.0.0 -> 1.0.1
* Change shabbat candle lighthing test scenario to 40 minutes as expected in Jerusalem
* Update to version 1.0.2
* Update keys based on updated nomenclature in library
* Update HolidayDatabase .get_all_names in test
* Make holiday type an ordered set
* Fix freeze_time
* Fix imports
* Fix tests and minor change
* Update hdate version 1.0.3, add migration method
* Fix migration code
* Add test for migration
* The change is not backwards compatible if config is not restored
* Don't allow creating backups if hass is not running
* Revert "Don't allow creating backups if hass is not running"
This reverts commit 1bf545eb25.
* Set backup manager to idle only after Home Assistant has started
* Update according to discussion, add tests
* Add more test
* - Added lock platform
- Added creation of IgloohomeLockEntity when bridge devices are included.
* - Migrated retrieval of linked_bridge utility to utils module.
- Added ability for lock to update it's own linked bridge automatically
* - Added mock bridge device to test fixture
* - Added snapshot test for lock module
* - Added bridge with no linked devices
- Added test for util.get_linked_bridge
* - Added handling of errors from API call
* - Bump igloohome-api to v0.1.0
* - Minor change
* - Removed async update for locks. Focus on MVP
* - Removed need for update on entity creation
* - Updated snapshot test
* - Updated snapshot
* - Updated to use walrus during lock entity creation
- Updated callback class for async_setup_entry based on lint suggestion
* - Set _attr_name as None
- Updated snapshot test
* Update homeassistant/components/igloohome/lock.py
* Update homeassistant/components/igloohome/lock.py
---------
Co-authored-by: Josef Zweck <josef@zweck.dev>
* extend tests to catch null schedules
* add fixture with null schedule
* remove null schedules for now
* fic the typing for _schedule attr (is list, not dict)
* add valid schedule to fixture
* update ssetpoints only if there is a schedule
* snapshot to match last change
* refactor: dont update switchpoints if no schedule
* add in warnings for null schedules
* add fixture for DHW without schedule