This project is mirrored from https://github.com/home-assistant/core.git.
Pull mirroring updated .
- Aug 18, 2024
-
-
Antoine Reversat authored
* Add support for Fujitsu HVAC devices * Add the entity code to .coveragerc * Only include code that can fail in the try/except block Co-authored-by:
Josef Zweck <24647999+zweckj@users.noreply.github.com> * Remove empty keys from manifest * Remove VERSION as it's already the default * Remve the get_devices function and use asyncio.gather to parallelize dev updates * Move initial step to a function * Let KeyError bubble up. If we are passed an invalid mode it's probably worth raising an exception. * Await the gather * Use the async version of the refresh_auth call * Use the serial number as unique id * Use HA constant for precision * Use dev instead of self._dev * Move to property decorated methods * Remove bidict dependency * Setup one config entry for our api credentials instead of per device * Remove bidict from requirements * Signout and remove our api object on unload * Use app credentials from ayla_iot_unofficial * Use entry_id as a key to store our API object * Delete unused code * Create reverse mappings from forward mapping instead of hardcoding them * Clean up the property methods * Only import part of config_entries we are using * Implement suggested changes * Fix tests to use new API consts * Add support for reauth * Use a coordinator instead of doing per-entity refresh * Auto is equivalent to HEAT_COOL not AUTO * Add ON and OFF to list of supported features * Use the mock_setup_entry fixture for the reauth tests * Parametrize testing of config flow exceptions * Only wrap fallable code in try/except * Add tests for coordinator * Use self.coordinator_context instead of self._dev.device_serial_number * Move timeout to ayla_iot_unofficial * Add description for is_europe field * Bump version of ayla-iot-unofficial * Remove turn_on/turn_off warning * Move coordinator creating to __init__ * Add the type of coordinator to the CoordiatorEntity * Update docstring for FujitsuHVACDevice constructor * Fix missed self._dev to dev * Abort instead of showing the form again with an error when usernames are different * Remove useless argument * Fix tests * Implement some suggestions * Use a device property the maps to the coordinator data * Fix api sign out when unloading the entry * Address comments * Fix device lookup * Move API sign in to coordinator setup * Get rid of FujitsuHVACConfigData * Fix async_setup_entry signature * Fix mock_ayla_api * Cleanup common errors * Add test to check that re adding the same account fails * Also patch new_ayla_api in __init__.py * Create a fixture to generate test devices * Add a setup_integration function that does the setup for a mock config entry * Rework unit tests for the coordinator * Fix typos * Use hass session * Rework reauth config flow to only modify password * Update name to be more use-friendly * Fix wrong type for entry in async_unload_entry * Let TimeoutError bubble up as teh base class handles it * Make the mock ayla api return some devices by default * Move test to test_climate.py * Move tests to test_init.py * Remove reauth flow * Remove useless mock setup * Make our mock devices look real * Fix tests * Rename fujitsu_hvac to fujitsu_fglair and rename the integration to FGLair * Add the Fujitsu brand * Add a helper function to generate an entity_id from a device * Use entity_id to remove hardcoded entity ids * Add a test to increase code coverage --------- Co-authored-by:
Josef Zweck <24647999+zweckj@users.noreply.github.com> Co-authored-by:
Erik Montnemery <erik@montnemery.com> Co-authored-by:
Joostlek <joostlek@outlook.com>
-
cdnninja authored
-
epenet authored
-
epenet authored
-
Duco Sebel authored
-
Michael authored
* use self.data when ever possible * use short hand attributes for color mode and supported color modes * color mode can change during runtime * group executer jobs
-
Daniel Rozycki authored
* Skip NextBus update if integration is still loading Fixes a race between the loading thread and update thread leading to an unrecoverable error * Use async_at_started * Use local copy of _route_stops to avoid NextBus race condition * Update homeassistant/components/nextbus/coordinator.py --------- Co-authored-by:
Joost Lekkerkerker <joostlek@outlook.com>
-
MarkGodwin authored
Fix for bad pre-registered clients
-
epenet authored
-
Maciej Bieniek authored
* Add missing sensors for Shelly Plus RGBW PM * Add tests
-
- Aug 17, 2024
-
-
Michael authored
Use better config validation for integrations with legacy setup method, but only config entry setup (#123203) use config_entry_only_config_schema over cv.removed Co-authored-by:
J. Nick Koston <nick@koston.org>
-
J. Nick Koston authored
-
Erik Montnemery authored
-
Allen Porter authored
Bump nest to 4.0.7
-
Jordi authored
Add brand selection to support additional brands who use the same API for AquaCell integration (#121817) * Support harvey brand * Update tests * Moved the brand selection step to the same step as credentials * Update tests/components/aquacell/test_init.py --------- Co-authored-by:
Joost Lekkerkerker <joostlek@outlook.com>
-
Erik Montnemery authored
-
J. Nick Koston authored
-
J. Nick Koston authored
-
Artem Draft authored
-
Pete Sage authored
initial commit
-
Pete Sage authored
* initial commit * update to use constant * retrigger checks
-
Erik Montnemery authored
* Add async friendly helper for validating config schemas * Improve docstrings * Add tests
-
Erik Montnemery authored
Redo recorder ID migration from INT to BIGINT
-
Erik Montnemery authored
Co-authored-by:
J. Nick Koston <nick@koston.org>
-
- Aug 16, 2024
-
-
Erik Montnemery authored
-
Joost Lekkerkerker authored
-
Maciej Bieniek authored
-
J. Nick Koston authored
-
epenet authored
-
Kim de Vos authored
* Add temperature sensors for device * Move to single line * Use right reference * Always return a value * Update tests * Use slugify for id name * Return default value if not present * Make _device_temperature return value * Add default value if temperatures is None * Set value to go over all code paths * Add test for no matching temperatures * make first part deterministic
-
epenet authored
* Add missing hass type hint in alexa tests * One more
-
dontinelli authored
* Bump fyta_cli to 0.5.1 * Code adjustments to enable strit typing * Update homeassistant/components/fyta/__init__.py Co-authored-by:
Joost Lekkerkerker <joostlek@outlook.com> * Update diagnostics * Update config_flow + init (ruff) * Update sensor * Update coordinator * Update homeassistant/components/fyta/diagnostics.py Co-authored-by:
Joost Lekkerkerker <joostlek@outlook.com> * Update homeassistant/components/fyta/diagnostics.py Co-authored-by:
Joost Lekkerkerker <joostlek@outlook.com> * Update homeassistant/components/fyta/sensor.py Co-authored-by:
Joost Lekkerkerker <joostlek@outlook.com> * Set one ph sensor to null/none * Update sensor * Clean-up (ruff) --------- Co-authored-by:
Joost Lekkerkerker <joostlek@outlook.com>
-
Erik Montnemery authored
-
epenet authored
-
epenet authored
-
Erik Montnemery authored
-
Joost Lekkerkerker authored
-
J. Nick Koston authored
-
Joost Lekkerkerker authored
-
Joost Lekkerkerker authored
-