* initial
* remove dupe name definition
* snapshot update
* name def updates
* test update for new entity name
* remove attributes
* icon translations
* merge fixes
* Snapshot update post merge
* update to class initialisation
* move entity delete to coordinator
* remove some comments
* move known_alarms to coordinator
* test_switch update for syrupy change
* listener and sets
* check self.available
* remove refresh from conftest
* test update
* test tweak
* move listener to switch platform
* updates revew
* SWITCH_DOMAIN
* Add first status sensor and coordinator
* New snapshot
* Add comment
* Add test for forbidden status endpoint
* Changed comment
* Fixed translation
* Minor changes and code optimization
* Add common translation; minor tweaks
* Moved translation from common to integration
* Use device class transation
* WIP
* Test api push
* Use constants
* Use callbacks registered with mock
* Add comment
* Adress review comments
* Empty commit
* Fix tests
* Updates after review
* Add user picture
* FYTA integration: Add separate entities for both default and user plant images (#12)
* Refactor FYTA integration to provide both default and user plant images as separate entities
* Refactor FYTA tests by removing unused CONF_USER_IMAGE option and related test cases
* Update FytaPlantImageEntity to set entity name based on image type
* Refactor FYTA image tests to accommodate separate plant and user image entities, updating assertions and snapshots accordingly.
* Enhance FYTA image handling by introducing FytaImageEntityDescription for better separation of plant and user images, and update image URL retrieval logic. Additionally, add localized strings for image entities in strings.json.
* Correct typo
* Update FYTA image snapshots to reflect changes in translation keys for plant and user images.
* Update homeassistant/components/fyta/image.py
* Update homeassistant/components/fyta/image.py
---------
Co-authored-by: dontinelli <73341522+dontinelli@users.noreply.github.com>
* Update QS + ruff
* Revert MINOR_VERSION increase and remove obsolete migration test
* Update snapshot
* Resolve comments
* Update snapshot
* Fix
---------
Co-authored-by: Alexander <chimera88@gmx.de>
* add support for air purifier
* add unit tests for air purifier
* fix aqi translation
* fix aqi translation
* add air purifier table
* fix air purifier
* remove init and add options for aqi level
* initial
* initial
* add tests
* Update for list return
* translate exception
* tests for errors
* review tweaks
* test fix
* force content_type to lowercase
* Allow media_content_type = None
* new test
* Shelly RPC sub-devices
* Better varaible name
* Add get_rpc_device_info helper
* Revert channel name changes
* Use get_rpc_device_info
* Add get_rpc_device_info helper
* Use get_block_device_info
* Use helpers in the button platform
* Fix channel name and roller mode for block devices
* Fix EM3 gen1
* Fix channel name for RPC devices
* Revert test changes
* Fix/improve test_block_get_block_channel_name
* Fix test_get_rpc_channel_name_multiple_components
* Fix tests
* Fix tests
* Fix tests
* Use key instead of index to generate sub-device identifier
* Improve logic for Pro RGBWW PM
* Split channels for em1
* Better channel name
* Cleaning
* has_entity_name is True
* Add get_block_sub_device_name() function
* Improve block functions
* Add get_rpc_sub_device_name() function
* Remove _attr_name
* Remove name for button with device class
* Fix names of virtual components
* Better Input name
* Fix get_rpc_channel_name()
* Fix names for Inputs
* get_rpc_channel_name() improvement
* Better variable name
* Clean RPC functions
* Fix input_name type
* Fix test
* Fix entity_ids for Blu Trv
* Fix get_block_channel_name()
* Fix for Blu Trv, once again
* Revert name for reboot button
* Fix button tests
* Fix tests
* Fix coordinator tests
* Fix tests for cover platform
* Fix tests for event platform
* Fix entity_ids in init tests
* Fix get_block_channel_name() for lights
* Fix tests for light platform
* Fix test for logbook
* Update snapshots for number platform
* Fix tests for sensor platform
* Fix tests for switch platform
* Fix tests for utils
* Uncomment
* Fix tests for flood
* Fix Valve entity name
* Fix climate tests
* Fix test for diagnostics
* Fix tests for init
* Remove old snapshots
* Add tests for 2PM Gen3
* Add comment
* More tests
* Cleaning
* Clean fixtures
* Update tests
* Anonymize coordinates in fixtures
* Split Pro 3EM entities into sub-devices
* Make sub-device names more unique
* 3EM (gen1) does not support sub-devices
* Coverage
* Rename "device temperature" sensor to the "relay temperature"
* Update tests after rebase
* Support sub-devices for 3EM (gen1)
* Mark has-entity-name rule as done 🎉
* Rename `relay temperature` to `temperature`
* Add reauth and reconfigure
* Reauth and reconfigure in different functions
* Add duplicate check
* Add test for reconfigure duplicate
* Removed seconds config entry fixture
* Don't add dynamically Home Connect sensors and disable them by default
* Fix test
* Check for None
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* add webhook in switchbot cloud integration
* Rename _need_initialized to _is_initialized and reduce nb line in async_setup_entry
* Add unit tests
* Enhance poll management
* fix
---------
Co-authored-by: Joostlek <joostlek@outlook.com>
* Remove the old ZWave controller from the list of migration targets
* ensure addon device path is serial/by_id
* Use executor
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Added shared space to the list of all the albums
* Added tests
* added more tests
* Apply suggestions from code review
---------
Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
* Assist Pipeline stream TTS when supported and long response
* Indicate in run-start if streaming supported
* Simplify a little bit
* Trigger streaming based on characters
* 60
* Move make_zmanim() method to entity
* Move enum values to setup
* Create a Jewish Calendar Sensor Description
* Hold a single variable for the runtime data in the entity
* Move value calculation to sensor description
* Use a base class to keep timestamp sensor inheritance
* Move attr to entity description as well
* Move options to entity description as well
* Fix tests after merge
* Put multiline in parentheses
* Fix diagnostics tests
* Suez water: fetch historical data in statistics
* test review
* wip: fix few things
* Python is smarter than me
* use snapshots for statistics and add hard limit for historical stats
* refactor refresh + handle missing price
* No more auth error raised
* fix after rebase
* Review - much cleaner <3
* fix changes
* test without snapshots
* fix imports
* Create repair issue if not all add-ons or folders were backed up
* Fix spelling
* Fix _collect_errors
* Make time patching by freezegun work with mashumaro
* Addd test to hassio
* Add fixture
* Fix generating list of folders
* Add issue creation tests
* Include name of failing add-on in message
* Improve code formatting
* Rename AddonError to AddonErrorData
* Use preferred spelling of "setpoint" in `smartthings`
Change three occurrences of "set point" to "setpoint" to match the preferred spelling in Home Assistant.
* Update test_sensor.ambr
* Update test_sensor.ambr (2)
* fix issues with checking mac address for panels added manually
* add test
* don't allow discovery to pick up a host twice
* make sure we validate tests without a mac address
* check entry is loaded
* Update config_flow.py
* apply changes from review
* assert unique id
* assert unique id
* Sort usb ports in Z-Wave flow so unknown devices are last
* tweak
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* add media_source platform
* fix error messages
* use mime-type from asset info, instead of guessing it
* add dependency for http
* add tests
* use direct imports and set can_play=False for images
* fix tests
* Enable RFDEBUG on "Enable debug logging"
* fix checks
* fix checks
* one more lap
* fix test
* wait to init rflink
In my dev env this is not needed
* use hass.async_create_task(handle_logging_changed())
instead async_at_started(hass, handle_logging_changed)
* revert unneeded async_block_till_done
* Remove the startup management
There's a race condition at startup that can't be managed nicely
* Add energy/water forecast & fix drying_step error
Adding the energy forecast and water forecast entities that are present in the HACS version of this integration but absent in the HA Core implantation.
Also fixed the state_drying_step sensor which wasn't handling casting of the API value to an int correctly due to the API sometimes giving a None value.
* Fix formatting issues from previous commit
* Fix missing translation_key line 202
* Remove icon entries
* Update icons.json
* Update strings.json
* Update strings.json (correcting mixed up energy/water forecast names)
* Update homeassistant/components/miele/strings.json
Co-authored-by: Åke Strandberg <ake@strandberg.eu>
* Update homeassistant/components/miele/strings.json
Co-authored-by: Åke Strandberg <ake@strandberg.eu>
* Fix tests
---------
Co-authored-by: Åke Strandberg <ake@strandberg.eu>
Co-authored-by: Joostlek <joostlek@outlook.com>
* Fix Nanoleaf light state propagation after change from home asisstant
* Add tests to check if nanoleaf light is triggering async_write_ha_state
* Fix pylint for test case
* Fix use coordinator.async_refresh instead of async_write_ha_state
* Fix tests
---------
Co-authored-by: Joostlek <joostlek@outlook.com>
* add immich integration
* bump aioimmich==0.3.1
* rework to require an url as input and pare it afterwards
* fix doc strings
* remove name attribute from deviceinfo as it is default behaviour
* add translated uom for count sensors
* explicitly pass in the config_entry in coordinator
* fix url in strings to uppercase
* use data_updates attribute instead of data
* remove left over
* match entries only by host
* remove quotes
* import SOURCE_USER directly, instead of config_entries
* split happy and sad flow tests
* remove unneccessary async_block_till_done() calls
* replace url example by "full URL"
* bump aioimmich==0.4.0
* bump aioimmich==0.5.0
* allow multiple users for same immich instance
* Fix tests
* limit entities when user has no admin rights
* Fix tests
* Fix tests
---------
Co-authored-by: Joostlek <joostlek@outlook.com>
* Add binary sensor tests
* Wait for background tasks as well in test_binary_sensor_update_failure
* Fix module docstring
* Use snapshot_platform, move constants to const.py, do not use snapshot for testing state updates
* Use JSON fixtures
* Use helper for loading JSON fixtures, remove unneeded mock in setup_integration
* Move mocks to pytest markers where possible
* Set the default upgrade icon for the MQTT device to the default icon for Home Assistant instead of the icon for the MQTT integration
* Set the default upgrade icon for the MQTT device to the default icon for Home Assistant instead of the icon for the MQTT integration
* Set the default upgrade icon for the MQTT device to the default icon for Home Assistant instead of the icon for the MQTT integration
* Set the default upgrade icon for the MQTT device to the default icon for Home Assistant instead of the icon for the MQTT integration
* Fix failed tests
* Fix failed tests
* Cleanup unused helper option
* ruff
---------
Co-authored-by: jbouwh <jan@jbsoft.nl>
* Refactor Fan
* Add tower fan tests and mode
* Schedule update after turn off
* Adjust updates to refresh library
* correct off command
* Revert changes
* Merge corrections
* Remove unused code to increase test coverage
* Ruff
* Tests
* Test for preset mode
* Adjust to increase coverage
* Test Corrections
* tests to match other PR
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update door switch strings so they are more user friendly
* Update door switch strings so they are more user friendly
* Update door switch strings so they are more user friendly
* update strings
* update strings
* Add dhcp discovery
* Update homeassistant/components/bosch_alarm/config_flow.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* put mac address in entry instead of unique id
* Update host and mac via dhcp discovery
* add mac to connections
* Abort dhcp flow if there is already an ongoing flow
* apply changes from review
* apply change from review
* remove outdated test
* fix snapshots
* apply change from review
* clean definition for connections
* update quality scale
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Add another EHS SmartThings fixture
* Add another EHS
* Add water heater support to SmartThings
* Add water heater support to SmartThings
* Add water heater support to SmartThings
* Add water heater support to SmartThings
* Fix
* Fix
* Fix
* Fix
* Fix
* Fix
* Fix
* Fix
* Fix
* Add more tests
* Make target temp setting conditional
* Make target temp setting conditional
* Finish tests
* Fix
* Add modern configuration for template alarm control panel
* address comments and add tests for coverage
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Add media search intent
* Add PLAY_MEDIA as required feature and remove explicit responses
---------
Co-authored-by: Michael Hansen <mike@rhasspy.org>
* Add binary sensors to bosch_alarm
* make one device per sensor, remove device class guessing
* fix tests
* update tests
* Apply suggested changes
* add binary sensors
* make fault sensors diagnostic
* update tests
* update binary sensors to use base entity
* fix strings
* fix icons
* add state translations for area ready sensors
* use constants in tests
* apply changes from review
* remove fault prefix, use default translation for battery low
* update tests
* Add buttons to Blue current integration
* Apply feedback
* Changed configEntry to use the BlueCurrentConfigEntry.
The connector is now accessed via the entry instead of hass.data.
* Changed test_buttons_created test to use the snapshot_platform function.
Also removed the entry.unique_id check in the test_charge_point_buttons function because this is not needed anymore, according to https://github.com/home-assistant/core/pull/114000#discussion_r1627201872
* Applied requested changes.
Changes requested by joostlek.
* Moved has_value from BlueCurrentEntity to class level.
This value was still inside the __init__ function, so the value was not overwritten by the ChargePointButton.
---------
Co-authored-by: Floris272 <florispuijk@outlook.com>
* Remove _attr_name = None from generic base class
* Add support for identify buttons to WMS WebControl pro
* Fix PERF401 as suggested by joostlek
* Fix fixture name after rebase
* Split test
---------
Co-authored-by: Joostlek <joostlek@outlook.com>
* Fix motor control function names
* Add position logic for BS4
* Use helper methods from pypck
* Add motor positioning to domain_data schema
* Fix tests
* Add motor positioning via module
* Invert motor cover positions
* Merge relay cover classes back into one class
* Update snapshot for covers
* Revert bump lcn-frontend to 0.2.4
* First try to use snapshot testing for sensors
* Use snapshot testing
* Add ambr files
* Update comment
* Address review comments
* Remove duplicate async init integration call
* Add device test for cases w/o SERIALNO
* Use friendlier snapshot names
* Use * to mandate keyed argument for async_init_integration
* Always pass mock config entry ID
* Fix incorrect ID
Co-authored-by: abmantis <amfcalt@gmail.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com>
* aioesphomeapi update
* Bump aioesphomeapi to 31.0.0
There are some breaking changes with the protobuf naming and types
required some refactoring
changelog: https://github.com/esphome/aioesphomeapi/compare/v30.2.0...v31.0.0
* actually include the commit to bump the lib
* Refactor test setup for unique ID migration in Overkiz integration
* Refactor test cases to unify result variable usage in Overkiz config flow tests (resultn -> result)
* Revert change in test_init