Erik Montnemery
cc564026fa
Move EntityCategory to homeassistant.const ( #87792 )
...
* Move EntityCategory to homeassistant.const
* Fix more imports
2023-02-09 20:15:37 +01:00
epenet
9580c4f1ec
Use UnitOfTemperature in integrations (e-h) ( #84305 )
2022-12-20 18:29:16 +01:00
epenet
0dd20fb309
Use UnitOfEnergy in integrations (a-n) ( #84220 )
2022-12-19 11:06:00 +01:00
epenet
0184aadb09
Use UnitOfElectricPotential in integrations ( #84044 )
2022-12-15 13:59:21 +01:00
epenet
4fe025b297
Use UnitOfPower in integrations [a-g] ( #83812 )
2022-12-12 11:48:09 +01:00
epenet
7c3ca38eb7
Use UnitOfElectricCurrent in integrations ( #83622 )
2022-12-09 10:51:26 +01:00
Michael
217d8eb9c5
Address late review of fritzbox ( #82369 )
2022-11-19 15:12:24 +01:00
Ayk Borstelmann
3b783a85c3
AVM Fritz!Box SmartHome: Integrate Templates ( #81885 )
2022-11-18 17:37:56 +01:00
Ryan Miguel
4abe5aec6c
Fix ZeroDivisionError for Fritz!Smarthome electric current sensor ( #80682 )
...
Fixes ZeroDivisionError for fritzbox sensor. Fixes #80618 .
2022-10-21 10:07:45 +02:00
Michael
69bf77be12
Avoid multiline lambdas in Fritz!Smarthome sensors ( #78524 )
...
* avoid multiline lambdas
* update tests
2022-09-28 08:43:31 +02:00
Michael
6f02f7c6ce
Bump pyfritzhome to 0.6.7 ( #78324 )
2022-09-15 16:01:55 +02:00
epenet
ec532414ba
Import climate constants from root [a-l] ( #78177 )
2022-09-10 23:39:52 +02:00
Michael
e30478457b
Fix voltage and current values for Fritz!DECT smart plugs ( #73608 )
...
fix voltage and current values
2022-06-17 07:40:02 +02:00
Michael
eca6768016
Use default None for voltage property of FritzDevice in Fritz!Smarthome ( #73141 )
...
use default None for device.voltage
2022-06-07 16:01:44 -07:00
Daniel Reimer
31b6b3deb5
Add sensors for current and potential to AVM FRITZ!SmartHome / Fritz!DECT ( #69999 )
...
* Update sensor.py
Add sensors for current and potential to AVM FRITZ!SmartHome. Tested with Fritz!DECT 200
* Update sensor.py
black, flake8 and isort checked
* Fix the change requests
Fixed the division by 1000 on two code parts to comply with the AVM API documention.
Added device.power to availability check.
* black --fast applied
* fix issort
* rename electric potential to voltage
Co-authored-by: mib1185 <mail@mib85.de>
2022-04-24 22:02:19 +02:00
epenet
44b7c0e65c
Use new enums in fritzbox ( #61447 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-10 08:58:23 -05:00
refinedcranberry
a78f0eae39
Add "nextchange" sensors to AVM FRITZ!Smarthome devices ( #58274 )
2021-11-25 12:34:04 +01:00
Michael
d5f85f393d
Add entity categorisation to AVM Fritz!Smarthome devices ( #59287 )
2021-11-14 17:05:18 +01:00
Julian Löhr
26042bdad7
Add Fritz!DECT 440 humidity sensor ( #54597 )
...
Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2021-09-30 11:56:38 +02:00
Marc Mueller
565a9fea6b
Import Callable from collections.abc (2) ( #56776 )
2021-09-29 14:06:51 +02:00
Michael
f1ba98927c
Address late fritzbox comments ( #55388 )
...
* correct imports
* move platform specifics into platforms
* move descriptions into platforms
2021-08-28 23:07:06 +02:00
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
Erik Montnemery
0abcfb42b3
Remove last_reset attribute from FritzBoxEnergySensor ( #54644 )
2021-08-16 23:57:59 +02:00
Erik Montnemery
87e7a8fb5f
Move temperature conversions to sensor base class - new integrations ( #54623 )
...
* Move temperature conversions to sensor base class
* Tweaks
* Update pvpc_hourly_pricing
* Fix flipr sensor
* Fix ezviz and youless sensor
2021-08-15 08:51:43 +02:00
Erik Montnemery
6de6a5dc14
Move temperature conversions to sensor base class (3/8) ( #54469 )
...
* Move temperature conversions to entity base class (3/8)
* Fix FritzBox sensor
* Fix tests
2021-08-12 14:23:56 +02:00
Michael
4241c4ca5b
Fix crash when AVM FRITZ!SmartHome devices are unreachable ( #53809 )
2021-08-02 16:13:54 +02:00
Michael
2b0b8736f2
Set state class measurement also for Total Energy for AVM Fritz!Smarthome devices ( #53707 )
2021-07-29 11:54:51 -07: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
Erik Montnemery
3e09787d85
Set device_class on temperature sensors F-K ( #52918 )
...
* Set device_class on temperature sensors F-K
* Fix juicenet sensor
2021-07-12 20:32:55 +02: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
Michael
a050c8827b
Add battery sensor to fritzbox smart home devices ( #49374 )
2021-04-18 12:30:58 -10:00
Erik Montnemery
339a56e434
Migrate integrations f-h to extend SensorEntity ( #48212 )
2021-03-22 19:45:17 +01:00
Erik Montnemery
af4d06b12e
Update integrations f-i to override extra_state_attributes() ( #47757 )
2021-03-11 16:57:47 +01: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
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
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