* add unit tests for sensors
* newline long strings
* unit test check and move time
* rename entry to entity
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* add types to test
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* fix newlined f strings
* remove if statement
* add some more explaination
* Update datetime
Co-authored-by: Robert Resch <robert@resch.dev>
* Simpler time update
Co-authored-by: Robert Resch <robert@resch.dev>
* add missing datetime import
* Update docustring - grammar
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* address comments and issues raised
* address docstrings too long
* Fix docstring
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Robert Resch <robert@resch.dev>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Starting number sensor
* Filter change config
* Add translation to number entity
* add number entity to .coveragerc
* Moved has_entity_name to description + changed name of entity
* Add self.coordinator.async_request_refresh() after changing value
* Add device calss and unit of measurement to number entity
* System bridge notifications
Add notify platform
Add file to coverage
Restore and fix lint after rebase
Cleanup
Use entity to register notify service
Fix pylint
Update package to 3.6.0 and add audio actions
Update package to fix conflict
Remove addition
* Run pre-commit run --all-files
* Update homeassistant/components/system_bridge/notify.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Format
* Fix
* Remove duplicate import
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Add fan feature
* Changed order of platform
* Use super()._handle_coordinator_update()
* format file
* Set _attr_has_entity_name
* Cleanup Fan code
* Refresh after setting ventilation speed + translation
* remove unused translation key
* New integration for Vodafone Station
* coveragerc
* Add ConfigFlow,ScannerEntity,DataUpdateCoordinator
* Introduce aiovodafone lib
* heavy cleanup
* bump aiovodafone to v0.0.5
* add config_flow tests (100% coverage)
* run pre-comimit scripts again
* Remove redundant parameter SSL
* rename and cleanup
* cleanup and bug fix
* cleanup exceptions
* constructor comment review
* improve test patching
* move VodafoneStationDeviceInfo to dataclass
* intriduce home field
* dispacher cleanup
* remove extra attributes (reduces state writes)
* attempt to complete test flow
* complete flow for test_exception_connection
* add comment about unique id
* Fetch location data and redact in diagnostics
* Implement device tracker
* Fix failing tests
* Update starlink-grpc-core
* Update coveragerc
* Hardcode GPS source type
* Use translations
* Move DEVICE_TRACKERS a little higher in the file
* Separate status and location check try/catches
* Revert "Separate status and location check try/catches"
This reverts commit 7628ec62f6.
* Initial commit
* Add siren entity
* Update coveragerc
* Cleanup unused entity description.
* Add restore and fix entity property to standards.
* Schedule turn off to match camera firmware
* Only add siren for devices that support capability
* Removed unused attribute and import.
* Add translation
* Update camera.py
* Update strings.json
* Update camera.py
* Cleanup
* Update homeassistant/components/ezviz/siren.py
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* use description
* Apply suggestions from code review
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Update strings.json
* Dont inherit coordinator class.
* Add assumed state
* Update homeassistant/components/ezviz/siren.py
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Reset delay listener if trigered
---------
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Implement Elmax cover platform.
* Reduce the number of code lines by leveraging the := operator
* Move _COMMAND_BY_MOTION_STATUS declaration at the top
* Remove redundant null-check
* Move conditional platform setup logic into the platform itself
* Remove redundant log
* Change log severity for stop request on IDLE cover state
---------
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* add select sensor to Electric Kiwi
* Update homeassistant/components/electric_kiwi/select.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* simplify the HOP select since there is only one
* remove handle coordinator state
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Initial commit
* Add button for ptz
* coveragerc
* Add ptz buttons to PTZ cameras only
* Describe support capbility
* Improve typing
* bump api version.
* Match entity naming used throughout
* Add translation
* Create ir before execution and breaks in version
* Fix for translation missing name key.
* Change depreciation to 2024.2.0
* Update camera.py
* Tiny spelling tweaks
---------
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
* Decouple more of ESPHome Bluetooth support
The goal is to be able to move more of this into an external library
* Decouple more of ESPHome Bluetooth support
The goal is to be able to move more of this into an external library
* Decouple more of ESPHome Bluetooth support
The goal is to be able to move more of this into an external library
* Decouple more of ESPHome Bluetooth support
The goal is to be able to move more of this into an external library
* Decouple more of ESPHome Bluetooth support
The goal is to be able to move more of this into an external library
* fix diag
* remove need for hass in the client
* refactor
* decouple more
* decouple more
* decouple more
* decouple more
* decouple more
* remove unreachable code
* remove unreachable code
* Move ESPHomeManager into its own file
This is not a functional change. This is only a reorganization
ahead of some more test coverage being added so moving tests
around can be avoided later.
* relos
* fixes
* merge a portion of new cover since its small and allows us to remove the __init__ from .coveragerc
* Create Opower integration
* fix tests
* Update config_flow.py
* Update coordinator.py
* Update sensor.py
* Update sensor.py
* Update coordinator.py
* Bump opower==0.0.4
* Ignore errors for "recent" PGE accounts
* Add type for forecasts
* Bump opower to 0.0.5
* Bump opower to 0.0.6
* Bump opower to 0.0.7
* Update requirements_all.txt
* Update requirements_test_all.txt
* Update coordinator
Fix exception caused by https://github.com/home-assistant/core/pull/92095
{} is dict but the function expects a set so change it to set()
* Improve exceptions handling
* Bump opower==0.0.9
* Bump opower to 0.0.10
* Bump opower to 0.0.11
* fix issue when integration hasn't run for 30 days
use last stat time instead of now when fetching recent usage/cost
* Allow username to be changed in reauth
* Don't allow changing username in reauth flow
* Remove option flow, refactor and improve the code quality after review in PR #54280
* Remove coordinator.py from coverage report
* Some minor improvements for unit tests
* Remove _LOGGER
* Use pytest.fixture and some more improvments
* Add back empty __init__
* Fix docstring
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Implemented Renson integration
* - renamed component to a better name
- Made cleaner code by splitting up files into different one
- Fixed issues regarding getting data from library
- Added service.yaml file
* Added Renson services
* cleanup translations
* added config_flow tests
* changed config_flow, removed all services
* use SensorEntityDescription + introduced new binarySensor
* fixed config_flow test
* renamed renson_endura_delta to renson
* refactored sensors and implemented binary_sensor
* Changed some sensors to non measurement and added entity_registery_enabled_default for config sensors
* Enabled binary_sensor
* changed import to new renamed module
* Merge files into correct files + cleaned some code
* Change use of EntityDescription
* Update codeowners
* Fixed lint issues
* Fix sensor
* Create test.yml
* Update test.yml
* add github action tests
* Format json files
* Remove deprecated code
* Update homeassistant/components/renson/binary_sensor.py
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
* Use Coordinqte in Sensor
* Migrated binary sensor to use coordinate
* Removed firmwareSensor
* Add entity_catogory to binary_sensor
* Add services
* Revert "Add services"
This reverts commit 028760d8d8.
* update requirements of Renson integration
* Add services and fan
* Fixed some issue + fixed PR comments
* Cleanup code
* Go back 2 years ago to the bare minimum for PR approval
* Refactored code and added a lot of device classes to the entities
* Fix some bugs
* Add unique Id and some device class
* Show the level value for CURRENT_LEVEL_FIELD instead of the raw data
* Remove FILTER_PRESET_FIELD for now
* Make the _attr_unique_id unique
* Changed Renson tests
* Moved Renson hass data into @dataclass
* Changed test + added files to .coveragerc
* Add device_class=SensorDeviceClass.Duration
* Fix syntax
---------
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>