Commit Graph

18 Commits (bb1203c61d956e2fe3dd03641dcfe38a0bc9b89c)

Author SHA1 Message Date
Michael ccad6a8f07
Add configuration url to AVM Fritz!Smarthome ()
* add configuration url

* extend data update coordinator

* improve exception handling during data update

* store coordinator after first refresh

* fix light init
2021-10-31 12:12:25 -07:00
Marc Mueller 565a9fea6b
Import Callable from collections.abc (2) () 2021-09-29 14:06:51 +02:00
Michael f1ba98927c
Address late fritzbox comments ()
* correct imports

* move platform specifics into platforms

* move descriptions into platforms
2021-08-28 23:07:06 +02:00
Michael e2dac31471
Use EntityDescription - fritzbox ()
* 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 () 2021-08-02 16:13:54 +02:00
Michael 24e07bc154
Fritzbox enable temp sensor () 2021-07-22 09:19:39 -07:00
Michael 25b2fd0cee
Add strict typing to fritzbox ()
* 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 () 2021-05-03 12:52:22 +02:00
Ruslan Sayfutdinov cbaeec2a4e
Use AddEntitiesCallback type, pt.2 () 2021-04-30 20:38:59 +02:00
Michael a352516944
Implement DataUpdateCoordinator to fritzbox integration () 2021-04-24 14:40:12 -10:00
springstan f93c0c5cd3
Use DEVICE_CLASS_WINDOW constant in various integrations () 2020-09-11 21:24:23 -05:00
Erik Montnemery b022e08db9
Rename BinarySensorDevice to BinarySensorEntity ()
* Rename BinarySensorDevice to BinarySensorEntity

* Tweak

* Move deprecation warning to __new__, add test

* Move deprecation warning back to __init__

* Move deprecation warning to __init_subclass
2020-04-23 21:57:07 +02:00
escoand c87ecf0ff6
Add config flow and device registry to fritzbox integration ()
* 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
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
Paulus Schoutsen e2d3c27e85
Embed all platforms into components ()
* 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