1
0
mirror of https://github.com/elisspace/core.git synced 2026-09-13 14:37:05 +00:00
Commit Graph

129 Commits

Author SHA1 Message Date
Simone Chemelli
f8af44cac2 Fritz clean device_tracker service (#56535) 2021-10-27 05:01:06 -05:00
Simone Chemelli
9d231ac2f8 Abort Fritz config flow for configured hostnames (#58140)
* Abort Fritz config flow for configured hostnames

* Fix tests + consider all combinations

* Fix async context
2021-10-25 22:44:23 +02:00
Robert Hillis
63646a19cc Use DeviceInfo Class F-G (#58255) 2021-10-23 12:01:21 +02:00
epenet
f6ffae9e10 Use DeviceInfo on components with configuration_url (#58223)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-10-22 17:40:13 +02:00
Simone Chemelli
1a9ac6b657 Switch Fritz to device selector for services (#58005) 2021-10-22 14:34:02 +02:00
epenet
8dfa628af0 Use DeviceInfo on components with via_device (A-G) (#58210)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-10-22 12:12:19 +02:00
GitHub Action
f9d985553c [ci skip] Translation update 2021-10-22 00:14:10 +00:00
Simone Chemelli
c7ff6eb5ee Address late review for Fritz entity_category (#58141) 2021-10-21 08:36:52 +02:00
Simone Chemelli
1a978662ec Add configuration_url and entity_category to Fritz (#58004) 2021-10-18 19:30:45 -07:00
GitHub Action
c76e15149c [ci skip] Translation update 2021-10-17 00:12:27 +00:00
Simone Chemelli
d51d70d3be Fix Fritz shutdown race condition (#57148) 2021-10-05 20:26:18 -07:00
GitHub Action
f42c2f5170 [ci skip] Translation update 2021-10-02 12:59:05 +00:00
Simone Chemelli
73e58c8c62 Bump fritzconnection to 1.7.0 (#56924) 2021-10-02 09:13:40 +02:00
Simone Chemelli
735c9f8f0b Revert fritz pref_disable_new_entities handling (#56891) 2021-10-01 16:18:49 +02:00
Simone Chemelli
8993ff0377 Fritz new binary sensor for link and firmware status + code cleanup (#55446) 2021-09-30 11:18:04 +02:00
Simone Chemelli
b9d81c3a7e Handle Fritz portmapping with same name (#56398) 2021-09-29 15:11:22 -07:00
Marc Mueller
d51487f82a Import Callable from collections.abc (3) (#56777) 2021-09-29 16:19:06 +02:00
Simone Chemelli
34ef47db55 Fritz honor sys option pref_disable_new_entities (#56740) 2021-09-28 20:59:03 -07:00
Simone Chemelli
715ce3185b Handle Fritz InternalError (#55711) 2021-09-04 13:56:59 -07:00
GitHub Action
19dcb19d07 [ci skip] Translation update 2021-09-04 00:13:17 +00:00
Simone Chemelli
fa7873dc6d Fix noise/attenuation units to UI display for Fritz (#55447) 2021-08-30 08:43:11 -07:00
GitHub Action
65d14909ee [ci skip] Translation update 2021-08-27 00:14:42 +00:00
Florian Gareis
c3316df31d Don't create DSL sensor for devices that don't support DSL (#55269) 2021-08-26 09:33:41 -07:00
Aaron David Schneider
39d5ae77a9 Address late review of Fritz switch (#54842) 2021-08-24 18:10:32 +02:00
Erik Montnemery
1280a38e0f Remove last_reset attribute from fritz sensors (#54806) 2021-08-18 13:12:37 +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
GitHub Action
0626542a14 [ci skip] Translation update 2021-08-12 00:14:10 +00:00
Schmidsfeld
fc40735295 Add more Fritz sensors for DSL connections (#53198)
* Update sensor.py

Added information about the upstream line accorrding to fritzconnection library (available since V1.5.0) .
New information available are line sync speed,, noise margin and power attenuation.

Tested with ADSL and VDSL lines on fritzbox 7590, 7490 and 7390. 
Not tested on cable internet / fiber. According to upstrem library should also work / fail gracefully.

* Update sensor.py

Fixed errors from automated tests
Sorry it took so long

* Update homeassistant/components/fritz/sensor.py

Thank you this sounds even better

Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>

* Update homeassistant/components/fritz/sensor.py

Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>

* Update homeassistant/components/fritz/sensor.py

Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>

* Update homeassistant/components/fritz/sensor.py

Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>

* Update homeassistant/components/fritz/sensor.py

Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>

* Update homeassistant/components/fritz/sensor.py

Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>

* Update homeassistant/components/fritz/sensor.py

Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>

* Update homeassistant/components/fritz/sensor.py

Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>

* Update homeassistant/components/fritz/sensor.py

Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>

* black & mypy fixes

* Rebase, fix multiplier, add conditional create

Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>
2021-08-08 11:23:28 +02:00
Simone Chemelli
582f2ae2f6 Two fixes (#54102) 2021-08-05 19:24:41 -07:00
GitHub Action
ba93bda3ad [ci skip] Translation update 2021-08-05 00:34:46 +00:00
Simone Chemelli
316c2baa12 Fix divider for Fritz sensors (#53980) 2021-08-04 21:53:07 +02:00
GitHub Action
8c5620e74b [ci skip] Translation update 2021-08-02 03:40:04 +00:00
Simone Chemelli
37d6824ed4 Increase pool max size for urllib3 in Fritz integration (#53461) 2021-07-26 16:44:58 +02:00
Simone Chemelli
33af2602af Fix wan/device uptime and add state_class to counters for Fritz (#52574)
* Fix wan/device uptime, add state_class to counters

* Rebase + cleanup + adapt to final fritzconnection

* Bump fritzconnection library

* Missing bump
2021-07-25 20:43:31 +03:00
Simone Chemelli
75f7d3d696 Replace util.get_local_ip in favor of components.network.async_get_source_ip() - part 1 (#52980) 2021-07-22 08:12:33 -10:00
Simone Chemelli
db1a8e9336 Fix similar network names for Fritz (#53278) 2021-07-21 19:31:51 +02:00
Marc Mueller
2d48d273a7 Fix incorrect unit (#53274) 2021-07-21 10:12:32 -07:00
Marc Mueller
6be30b0289 Use unit constants (#53244)
* Powerwall - use POWER_KILO_WATT constant

* Use constants firtz sensor
2021-07-20 20:08:39 +02:00
Simone Chemelli
1746103e0e Add friendly name to Fritz profile switches (#53190) 2021-07-20 18:38:16 +02:00
Marc Mueller
f6b162bc39 Add pylint CodeStyle extension (#53147) 2021-07-19 06:57:06 -07:00
GitHub Action
531733da7b [ci skip] Translation update 2021-07-19 00:09:50 +00:00
Simone Chemelli
b13119884c Fix units for Fritz network sensors (#53026) 2021-07-16 11:01:00 -07:00
Aaron David Schneider
3d3db4b044 Replace fritz profile switches by per device parental control switches (#52721)
* removes old profile switches and add new switches based on new method

* use Ellipsis instead of pass

* refactor async_add_profile_switches

* - add forgotten update_ha_state
- add notimplemtederror for devicebase

* Update homeassistant/components/fritz/common.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/fritz/common.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* comments

* fix for devices that were not connected

* Update homeassistant/components/fritz/common.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/fritz/switch.py

Co-authored-by: J. Nick Koston <nick@koston.org>

Co-authored-by: J. Nick Koston <nick@koston.org>
2021-07-16 13:38:37 +02:00
Daniel Hjelseth Høyer
fbad453c89 Pylint 2.9.3 (#52972)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-07-14 21:44:57 -07:00
GitHub Action
b484969b09 [ci skip] Translation update 2021-07-11 00:09:40 +00:00
GitHub Action
b347226820 [ci skip] Translation update 2021-07-10 00:09:24 +00:00
Simone Chemelli
5c82776411 Fix Fritz default consider home value (#52648) 2021-07-07 20:19:31 +02:00
Simone Chemelli
046eb1690a Fix Fritz Wi-Fi 6 networks with same name as other Wi-Fi (#52588) 2021-07-06 15:49:22 +02:00
Simone Chemelli
a70dae0843 Enable strict typing for Fritz (#50668)
Co-authored-by: Ruslan Sayfutdinov <ruslan@sayfutdinov.com>
2021-07-06 15:06:32 +02:00
Simone Chemelli
69b9a9c4ee Merge fritzbox_netmonitor integration into fritz (#52264)
* Merge netmonitor integration

* cleanup additional files

* Use attrs instead of properties

* Add state_class to relevant sensors

* Update homeassistant/components/fritz/sensor.py

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Update homeassistant/components/fritz/sensor.py

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Update homeassistant/components/fritz/sensor.py

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Update homeassistant/components/fritz/sensor.py

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Update homeassistant/components/fritz/sensor.py

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Update homeassistant/components/fritz/sensor.py

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* mypy fix + small cleanup

* Round, GB and icons

* Update homeassistant/components/fritz/sensor.py

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* remove state_class from no-reset counters

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-07-03 16:26:43 +03:00