Commit Graph
13 Commits
Author SHA1 Message Date
G JohanssonandGitHub 8556f3e7c8 Remove deprecated speedtest service from Fast.com (#119780)
* Remove deprecated speedtest service from Fast.com

* Remove not needed tests
2024-06-17 10:04:46 +02:00
G JohanssonandGitHub 6a8a975fae Remove config flow import from fastdotcom (#118665) 2024-06-02 21:04:35 -04:00
481de8cdc9 Ensure config entry operations are always holding the lock (#117214)
Co-authored-by: Martin Hjelmare <[email protected]>
Co-authored-by: Paulus Schoutsen <[email protected]>
2024-05-12 08:20:08 +09:00
epenetandGitHub 0b01326f9f Use is in ConfigEntryState enum comparison in tests (A-M) (#114925) 2024-04-05 17:16:55 +02:00
Joost LekkerkerkerandGitHub 906d3198e3 Use is in enum comparison in config flow tests F-J (#114670)
* Use right enum expression F-J

* Fix
2024-04-02 23:01:37 +02:00
Erwin DounaandGitHub 1ff049cc66 Add diagnostics platform to Fastdotcom (#111525) 2024-03-15 14:42:07 +01:00
Marc MuellerandGitHub c88b337600 Add empty line after module docstring [tests f-k] (#112709) 2024-03-08 14:50:04 +01:00
J. Nick KostonandGitHub c399cab427 Small speed up to checking core state (#107845) 2024-01-18 08:41:32 -10:00
b08832a89a Fastdotcom service optimization (#107179)
* Startup mechanic

* Workable service (again)

* Optimized version, for now

* Minor refactoring

* Test cases

* Fixing test case

* Adding startup comment

* State_unknown added

* Update homeassistant/components/fastdotcom/services.py

Co-authored-by: Martin Hjelmare <[email protected]>

* Check if config entries are not found

* Update tests/components/fastdotcom/test_service.py

Co-authored-by: Martin Hjelmare <[email protected]>

* Update homeassistant/components/fastdotcom/services.py

Co-authored-by: Martin Hjelmare <[email protected]>

* Update homeassistant/components/fastdotcom/services.py

Co-authored-by: Martin Hjelmare <[email protected]>

---------

Co-authored-by: Martin Hjelmare <[email protected]>
2024-01-11 08:27:15 +01:00
G JohanssonandGitHub 123b2669f3 Add full coverage to Fast.com (#105596)
* Add full test coverage for Fast.com

* Remove not needed

* Add service deprecated test

* Rename speedtest

* Extend delay test
2023-12-25 12:04:07 +01:00
9d44dc4437 Add Fast.com Device Info (#105528)
Co-authored-by: G Johansson <[email protected]>
2023-12-12 10:41:00 +01:00
662e19999d Add Fastdotcom DataUpdateCoordinator (#104839)
* 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 <[email protected]>

* Putting back typing

* Update homeassistant/components/fastdotcom/__init__.py

Co-authored-by: G Johansson <[email protected]>

* 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 <[email protected]>

* Update tests/components/fastdotcom/test_coordinator.py

Co-authored-by: G Johansson <[email protected]>

* Update tests/components/fastdotcom/test_coordinator.py

Co-authored-by: G Johansson <[email protected]>

* Update tests/components/fastdotcom/test_coordinator.py

Co-authored-by: G Johansson <[email protected]>

* Update tests/components/fastdotcom/test_coordinator.py

Co-authored-by: G Johansson <[email protected]>

* Coordinator workable proposal

* Update tests/components/fastdotcom/test_coordinator.py

Co-authored-by: G Johansson <[email protected]>

* Working test cases

* Update tests/components/fastdotcom/test_coordinator.py

Co-authored-by: G Johansson <[email protected]>

* Update tests/components/fastdotcom/test_coordinator.py

Co-authored-by: G Johansson <[email protected]>

* Update tests/components/fastdotcom/test_coordinator.py

Co-authored-by: G Johansson <[email protected]>

* Update tests/components/fastdotcom/test_coordinator.py

Co-authored-by: G Johansson <[email protected]>

* Fixing tests and context

* Fix the freezer interval to 59 minutes

* Fix test

---------

Co-authored-by: G Johansson <[email protected]>
2023-12-11 22:28:04 +01:00
eb5c7a3e76 Add Fastdotcom config flow (#98686)
* Adding config flow and tests

* Removing update and adding to integrations.json

* Updating hassfest

* Removing comments

* Removing unique ID

* Putting the setup_platform out of order

* Adding feedback on issues and importing

* Removing uniqueID (again)

* Adjusting unload and typo

* Updating manifest properly

* Minor patching

* Removing hass.data.setdefault(DOMAIN, {})

* Moving load_platform to __init__.py

* Update homeassistant/components/fastdotcom/config_flow.py

Co-authored-by: G Johansson <[email protected]>

* Update homeassistant/components/fastdotcom/strings.json

Co-authored-by: G Johansson <[email protected]>

* Update homeassistant/components/fastdotcom/__init__.py

Co-authored-by: G Johansson <[email protected]>

* Update homeassistant/components/fastdotcom/config_flow.py

Co-authored-by: G Johansson <[email protected]>

* Adding an unload function for the timer

* Adding issue on setup platform in sensor

* Update homeassistant/components/fastdotcom/config_flow.py

Co-authored-by: G Johansson <[email protected]>

* Removing platform

* Fixing strings.json

* Fine-tuning

* Putting back last_state

---------

Co-authored-by: G Johansson <[email protected]>
2023-11-21 09:59:34 +01:00