* Use mocked entity platform for lock service tests
* Cleanup old mock class
* Follow up on code review
* Improve mock entity platform
* Use entity_id of passed entity instead of constant
* Add support for Gen3 devices
* Add RPC_GENERATIONS const
* Add gen3 to tests
* More tests
* Add BLOCK_GENERATIONS const
* Use *_GENERATIONS constants from aioshelly
* Adding DataUpdateCoordinator
* Updating and adding test cases
* Optimizing test
* Fix typing
* Prevent speedtest at startup
* Removing typing on Coordinator
* Update homeassistant/components/fastdotcom/coordinator.py
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Putting back typing
* Update homeassistant/components/fastdotcom/__init__.py
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Adding proper StateType typing
* Fix linting
* Stricter typing
* Creating proper test case for coordinator
* Fixing typo
* Patching librbary
* Adding unavailable state test
* Putting back in asserts
* Update tests/components/fastdotcom/test_coordinator.py
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Update tests/components/fastdotcom/test_coordinator.py
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Update tests/components/fastdotcom/test_coordinator.py
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Update tests/components/fastdotcom/test_coordinator.py
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Update tests/components/fastdotcom/test_coordinator.py
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Coordinator workable proposal
* Update tests/components/fastdotcom/test_coordinator.py
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Working test cases
* Update tests/components/fastdotcom/test_coordinator.py
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Update tests/components/fastdotcom/test_coordinator.py
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Update tests/components/fastdotcom/test_coordinator.py
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Update tests/components/fastdotcom/test_coordinator.py
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Fixing tests and context
* Fix the freezer interval to 59 minutes
* Fix test
---------
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Add config flow to Suez water
* fix tests
* Complete coverage
* Change version to 2024.7
* Fix final test
* Add issue when import is successful
* Move hassdata
* Do unique_id
* Remove import issue when entry already exists
* Remove import issue when entry already exists
* Relocate Bluetooth manager to habluetooth library
* Relocate Bluetooth manager to habluetooth library
* Relocate Bluetooth manager to habluetooth library
* fixes
* fix patching time
* fix more tests
* fix more tests
* split
* Bump habluetooth to 0.7.0
changelog: https://github.com/Bluetooth-Devices/habluetooth/compare/v0.6.1...v0.7.0
This is the big change that will move the manager so the HA
PR that will follow this will be a bit larger than the rest of them
since the manager is connected to everything
* fix types
* fix types
* fix types
* fix patch targets
* fix flakey logbook tests (will need another PR)
* mock shutdown
* bump again
* value can be a float now
* Revert "value can be a float now"
This reverts commit b7e7127143.
* float
* Bump openai
* Fix tests
* Apply suggestions from code review
* Undo conftest changes
* Raise repasir issue
* Explicitly use async mock for chat.completions.create
It is not always detected correctly as async because it uses a decorator
* removed duplicated message
* ruff
* Compatibility with old pydantic versions
* Compatibility with old pydantic versions
* More tests
* Apply suggestions from code review
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
* Apply suggestions from code review
---------
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
* refactor: return date/datetime for due date
* fix: explicitly set due date on vTODO component
Using `set_due` automatically handles converting the Python-native
date/datetime values to the correct representation required by RFC5545.
* fix: fix tests with changed due date handling
* fix: item.due may not be a str
* refactor: keep local timezone of due datetime
* refactor: reorder import statement
To make ruff happy.
* fix: fix false-positive mypy error
* First pass at Tessie
* Working POC
* async_step_reauth
* Config Flow tests
* WIP
* Add test requirement
* correctly gen test requirements
* 100% coverage
* Remove remnants of copy paste
* Add TPMS
* Fix docstring
* Remove redundant line
* Fix some more copied docstrings
* Grammar
* Create reusable StrEnum
* Streamline get
* Add a couple more sensors
* Removed need for a model
* Move MODELS
* Remove DOMAIN from config flow
* Add translation strings
* Remove unused parameter
* Simplify error handling
* Refactor coordinator to class
* Add missing types
* Add icon to shift state
* Simplify setdefault
Co-authored-by: J. Nick Koston <nick@koston.org>
* Use walrus for async_unload_platforms
Co-authored-by: J. Nick Koston <nick@koston.org>
* Reformat entity init
Co-authored-by: J. Nick Koston <nick@koston.org>
* Remove Unique ID
* Better Config Flow Tests
* Fix all remaining tests
* Standardise docstring
* Remove redudnant test
* Set TessieDataUpdateCoordinator on entity
* Correct some sensors
* add error types
* Make shift state a ENUM sensor
* Add more sensors
* Fix translation string
* Add precision suggestions
* Move session from init to coordinator
* Add api_key type
* Remove api_key parameter
* Meta changes
* Update TessieEntity and TessieSensor translations
* Goodbye translation keys
* bump tessie-api to 0.0.9
* Fix only_active to be True
* Per vehicle coordinator
* Rework coordinator
* Fix coverage
* WIP
* The grand rework
* Add comments
* Use ENUM more
* Add ENUM translations
* Update homeassistant/components/tessie/sensor.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Add entity_category
* Remove reauth
* Remove session
* Update homeassistant/components/tessie/__init__.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Add property tag
* Add error text
* Complete config flow tests
* Fix property and rename
* Fix init test
* Reworked coordinator tests
* Add extra checks
* Update homeassistant/components/tessie/__init__.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Update homeassistant/components/tessie/coordinator.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Apply suggestions from code review
Co-authored-by: J. Nick Koston <nick@koston.org>
* Ruff fix
* Update homeassistant/components/tessie/config_flow.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Remove future ENUMs
Co-authored-by: J. Nick Koston <nick@koston.org>
* Ruff fix
* Update homeassistant/components/tessie/config_flow.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Remove reauth and already configured strings
* Lowercase sensor values for translation
* Update homeassistant/components/tessie/__init__.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Fixed, before using lambda
* Add value lambda
* fix lambda
* Fix config flow test
* @bdraco fix for 500 errors
* format
* Add reauth
* Reuse string in reauth
* Ruff
* remove redundant check
* Improve error tests
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
* Reload zwave_js config entry on device reset
* remove device
* Just remove the device and don't reload
* revert change to notification message
* Assert device is no longer there
* Remove get_rpc_device_sleep_period() function
* Bump aioshelly version to 7.0.0
* Remove firmware compatibility check from BLE scanner
* Remove firmware compatibility check from light transition
* Update default fw ver
* Use LightEntityFeature in tests