Michael
e2dac31471
Use EntityDescription - fritzbox ( #55104 )
...
* Use sensor entity description
* check if not none instead if callable
* List comprehension in switch and climate
* change state to native_value in description
* merge FritzBoxSensorEntity into FritzBoxEntity
* rename SENSOR_DESCRIPTIONS to SENSOR_TYPES
* use mixins for descriptions
* use comprehension in async_setup_entry()
* improve extra_state_attributes
2021-08-27 17:09:34 +02:00
Michael
4241c4ca5b
Fix crash when AVM FRITZ!SmartHome devices are unreachable ( #53809 )
2021-08-02 16:13:54 +02:00
Michael
42e8a7c842
Move Fritzbox power, energy and temperature switch attributes to sensors ( #52562 )
...
* deprecate switch entity properties
* Add last_reset to FritzBoxEnergySensor
* Remove obsolet temperature attribute
2021-07-23 13:06:30 +02:00
Michael
24e07bc154
Fritzbox enable temp sensor ( #52558 )
2021-07-22 09:19:39 -07:00
Michael
25b2fd0cee
Add strict typing to fritzbox ( #50486 )
...
* enable strict typing
* apply suggestions
* set defaults for FritzboxConfigFlow
* improvements and suggestions
* another suggestion
* tweaks
* tweaks
2021-05-15 07:54:11 +02:00
Simone Chemelli
1ad9f1d714
Title and internal descriptions updates for Fritzbox ( #49047 )
2021-05-03 12:52:22 +02:00
Ruslan Sayfutdinov
cbaeec2a4e
Use AddEntitiesCallback type, pt.2 ( #49921 )
2021-04-30 20:38:59 +02:00
Michael
a352516944
Implement DataUpdateCoordinator to fritzbox integration ( #49611 )
2021-04-24 14:40:12 -10:00
Erik Montnemery
af4d06b12e
Update integrations f-i to override extra_state_attributes() ( #47757 )
2021-03-11 16:57:47 +01:00
Erik Montnemery
066e921a8b
Rename SwitchDevice to SwitchEntity ( #34673 )
2020-04-26 18:50:37 +02:00
escoand
c87ecf0ff6
Add config flow and device registry to fritzbox integration ( #31240 )
...
* add config flow
* fix pylint
* update lib
* Update config_flow.py
* remote devices layer in config
* add default host
* avoid double setups of entities
* remove async_setup_platform
* store entities in hass.data
* pass fritz connection together with config_entry
* fritz connections try no4 (or is it even more)
* fix comments
* add unloading
* fixed comments
* Update config_flow.py
* Update const.py
* Update config_flow.py
* Update __init__.py
* Update config_flow.py
* Update __init__.py
* Update __init__.py
* Update config_flow.py
* Update __init__.py
* Update __init__.py
* Update __init__.py
* Update config_flow.py
* add init tests
* test unloading
* add switch tests
* add sensor tests
* add climate tests
* test target temperature
* mock config to package
* comments
* test binary sensor state
* add config flow tests
* comments
* add missing tests
* minor
* remove string title
* deprecate yaml
* don't change yaml
* get devices async
* minor
* add devices again
* comments fixed
* unique_id fixes
* fix patches
* Fix schema
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-04-20 15:00:07 +02:00
springstan
ad102b3840
Use f-strings in integrations starting with "F"and"G" ( #32150 )
...
* Use f-strings in integrations starting with F
* Use f-strings in tests for integrations starting with F
* Use f-strings in integrations starting with G
* Use f-strings in tests for integrations starting with G
* Fix pylint error
* Fix broken test
2020-02-24 17:54:20 -08:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
cgtobi
2c07bfb9e0
Remove dependencies and requirements ( #23024 )
...
* 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 ( #22235 )
...
* Use relative imports inside integrations
* Lint
* Fix automation tests
* Fix scene imports
2019-03-20 22:56:46 -07:00
Diogo Gomes
a99d83390e
Centrally define Energy Units (kWh and Wh) ( #21719 )
...
* centralize energy units kWh and Wh
* lint
2019-03-12 18:46:41 -07:00
Fabian Affolter
127c55e0c1
Update file header ( #21023 )
...
* 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
Paulus Schoutsen
e2d3c27e85
Embed all platforms into components ( #20677 )
...
* Consolidate all components with platforms
* Organize tests
* Fix more tests
* Fix Verisure tests
* one final test fix
* Add change
* Fix coverage
2019-02-02 07:13:16 -08:00