* add some basic overrides for z-trm6
* switched id and type
* add fixtures some lints
* duplicate tests of z-trm3
* add broken test for trm6
* fix tests, remove name from fixtures, fix comment
* lints
* forgot lints
* add better description on pwer mode
* Update comment v2
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* fix space from github web merge
* lint on fixture
* fix permissions on fixture
---------
Co-authored-by: geir råness <11741725+geirra@users.noreply.github.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Add Huawei LTE restart and clear traffic statistics buttons
Deprecate corresponding services in favour of these.
* Change to be removed service warnings to issues
* Add tests
* Update planned service remove versions
* Support hybrid local push/pull switches using MQTT
* Update homeassistant/components/fully_kiosk/entity.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Fix MQTT subscribe method
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* 🍱 Add new fixture for PVPC data from authenticated API call
and update mocked server responses when data is not available
(now returns a 200 OK with empty data)
* ✨ Implement optional API token in config-flow + options
to make the data download from an authenticated path in ESIOS server
As this is an *alternative* access, and current public path works for the PVPC,
no user (current or new) is compelled to obtain a token,
and it can be enabled anytime in options, or doing the setup again
When enabling the token, it is verified (or "invalid_auth" error),
and a 'reauth' flow is implemented, which can change or disable the token if
it starts failing.
The 1st step of config/options flow adds a bool to enable this private access,
- if unchecked (default), entry is set for public access (like before)
- if checked, a 2nd step opens to input the token, with instructions
of how to get one (with a direct link to create a 'request email').
If the token is valid, the entry is set for authenticated access
The 'reauth' flow shows the boolean flag so the user could disable a bad token
by unchecking the boolean flag 'use_api_token'
* 🌐 Update strings for config/options flows
* ✅ Adapt tests to check API token option and add test_reauth
* 🎨 Link new strings to those in config-flow
* 🐛 tests: Fix mocked date-change with async_fire_time_changed
* ♻️ Remove storage of flag 'use_api_token' in config entry
leaving it only to enable/disable the optional token in the config-flow
* ♻️ Adjust async_update_options
* Update datetime strings to match input_datetime integration
* Add netatmo service to set temperature
* Add netatmo service to clear temperature setting
* Fix formatting
* Add tests for new services
* Fix mypy error
* Fix formatting
* Fix formatting
* Apply suggestions from code review (WIP)
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Complete changes from review suggestions
* Fix build error
* Add service to set temperature for time period
* Expand and fix test
* Replace duplicated strings with links
---------
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* * Nobø Ecohub select entities
- Week profiles
- Global overrides
* Set integration_type
* Typing
* Remove translations
* Translation fixes
- Moved strings.select.json into strings.json
- Added translation keys for select entities
- Use shared translation keys for global override states
* Use DeviceInfo object
* Revert temperature name - uses device class name
* Fix updated checks
* Improve error handling (preparing for Silver level)
* Review
* ability to set swing mode on samsung AC
* support for windFree mode on samsung AC
* Apply suggestions from code review
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* suggestion from code reviews
* Apply suggestions from code review
---------
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Refactor to DataUpdateCoordinator
* Fix tests for sunset/sunrise
* Correct time offsets in tests
* Fix time intervals (attempt 2)
* Merge dev
* Fix tests after rebase
* Fix isort
* Address review comments: const and increase cov
* Fix merge problems
* Refactor, removing unnecessary file
* Perform blocking serial IO in the executor
* Replace deprecated async_setup_platforms
* Update based on review comments
* Fix tests
* Update based on review comments.
* Update homeassistant/components/aurora_abb_powerone/sensor.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Use freezer for time deltas.
* Address review comments
---------
Co-authored-by: Dave T <davet2001@users.noreply.github.com>
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Add tests to Skybell
* better way to manage cache
* uno mas
* try ci fix
* temporary
* undo temporary
* ruff
* black
* uno mas
* uno mas
* remove problematic test for now
* reduce to binary sensor tests
* coverage
* move cache to json
* Update tests/components/skybell/conftest.py
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>