Commit graph

18 commits

Author SHA1 Message Date
Erwin Douna
eb5c7a3e76
Add Fastdotcom config flow ()
* 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 <goran.johansson@shiftit.se>

* Update homeassistant/components/fastdotcom/strings.json

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Update homeassistant/components/fastdotcom/__init__.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Update homeassistant/components/fastdotcom/config_flow.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* 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 <goran.johansson@shiftit.se>

* Removing platform

* Fixing strings.json

* Fine-tuning

* Putting back last_state

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-11-21 09:59:34 +01:00
Nerdix
2220396c41
Enable long-term statistics for Fast.com sensor () 2023-07-24 16:59:39 +02:00
epenet
c475273145
Prevent SensorEntity and RestoreEntity inheritance () 2023-05-24 12:49:35 +02:00
Marc Mueller
077ca97ef8
Fix local_partial_types errors ()
Fix local_partial_types errors
2023-01-23 10:29:11 +01:00
epenet
535aba10ee
Use DataRate unit and device class in integrations () 2022-12-10 11:41:44 +01:00
Marc Mueller
a48ddcadd4
Use assignment expressions 31 () 2021-10-30 16:29:07 +02:00
Marc Mueller
2a8eaf0e0f
Use assignment expressions 06 () 2021-10-17 20:05:11 +02:00
Erik Montnemery
6de6a5dc14
Move temperature conversions to sensor base class (3/8) ()
* Move temperature conversions to entity base class (3/8)

* Fix FritzBox sensor

* Fix tests
2021-08-12 14:23:56 +02:00
Yuval Aboulafia
0e7cd02d17
Add type checking and entity attributes for Fast.com ()
* Cleanup fast.com (typing, attrs)

* Adress review

* fixes
2021-07-05 10:19:37 +02:00
Erik Montnemery
339a56e434
Migrate integrations f-h to extend SensorEntity () 2021-03-22 19:45:17 +01:00
Philip Allgaier
625bbe6238
Cleanup unused loggers (components A-M) () 2020-10-12 16:59:05 +02:00
Paulus Schoutsen
4ebbabcdd1
Unsub dispatcher when removing entity from hass ()
* Unsub dispatcher when removing entity from hass

* Update homeassistant/components/plaato/sensor.py

Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/volvooncall/__init__.py

Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-04-02 09:25:33 -07:00
Ville Skyttä
3e23a3a860
Add and use bunch of data size and rate related constants ()
Also fix a few units to match the corresponding data.
2020-02-13 08:52:57 -08:00
Paulus Schoutsen
4de97abc3a Black 2019-07-31 12:25:30 -07:00
cgtobi
2c07bfb9e0 Remove dependencies and requirements ()
* Remove dependencies and requirements

* Revert "Remove dependencies and requirements"

This reverts commit fe7171b4cd.

* Remove dependencies and requirements

* Revert "Remove dependencies and requirements"

This reverts commit 391355ee2c.

* Remove dependencies and requirements

* Fix flake8 complaints

* Fix more flake8 complaints

* Revert non-component removals
2019-04-12 10:13:30 -07:00
Paulus Schoutsen
4b1de61110
Use relative imports inside integrations ()
* Use relative imports inside integrations

* Lint

* Fix automation tests

* Fix scene imports
2019-03-20 22:56:46 -07:00
Fabian Affolter
127c55e0c1
Update file header ()
* Update file header

* Update file header

* Update file header

* Update file header

* Update file header

* Fix lint issues
2019-02-13 21:21:14 +01:00
Rohan Kapoor
fcccf133ba
Split out fastdotcom into a component and a sensor platform ()
* Split out fastdotcom into a component and a sensor platform

* Update .coveragerc

* Switching to async and using a Throttle

* Add the async_track_time_interval call

* Remove the throttle

* Reorder sensor methods and add should_poll property
2019-02-01 21:50:22 -08:00