Commit Graph
50 Commits
Author SHA1 Message Date
rappenze 5f4a2a713c Remove deprecated fibaro yaml config (#87939) 2023-02-12 21:50:50 +01:00
rappenze 69dc50c917 Small code improvements fibaro integration (#87949) 2023-02-12 19:56:02 +01:00
rappenze e1340e6ed4 Replace fiblary3 with pyfibaro library (#83500)
* Replace fiblary3 with pyfibaro library

* Fix some missing replacements for pyfibaro library

* Remove debug code which was committed accidentially

* Use fibaro_parent_id in another place

* Fix some bugs

* Move more code to the library

* Move has_unit check to correct place
2023-02-11 22:13:12 +01:00
rappenze cd2377bc05 Support hvacsystem in fibaro integration (#78234)
fixes undefined
2022-11-24 19:16:33 +01:00
rappenze 1fe85c9b17 Fix accelerator sensor in fibaro integration (#81237)
* Fix accelerator sensor in fibaro integration

* Implement suggestions from code review

* Implement suggestions from code review

* Changes as suggested in code review

* Adjust as suggested in code review
2022-11-12 10:43:11 +01:00
rappenzeandJoakim Plate d80c0ddb5f Fix armed state in fibaro integration (#80218)
* Fix armed state in fibaro integration

* Update homeassistant/components/fibaro/__init__.py

Co-authored-by: Joakim Plate <elupus@ecce.se>

Co-authored-by: Joakim Plate <elupus@ecce.se>
2022-10-13 13:51:30 +02:00
rappenze 06b1a4c2b4 Fix armed extra state attribute in fibaro entity (#80034) 2022-10-10 19:14:43 +02:00
rappenze 601fb5ebb5 Add reauth flow to fibaro (#74300) 2022-09-05 07:55:12 -05:00
epenet a46c25d2c8 Use _attr_should_poll in components [a-g] (#77268) 2022-08-26 10:15:33 +02:00
Erik Montnemery 60c8d95a77 Remove white_value support from light (#76926) 2022-08-18 08:21:05 -04:00
J. Nick Koston cd03c49fc2 Wait for config entry platform forwards (#73806) 2022-07-09 17:27:42 +02:00
rappenze 7eae3691c2 Add device info to fibaro integration (#73352) 2022-06-30 14:57:35 -07:00
rappenze c10a523055 Sync fibaro entity visible state (#72379) 2022-05-30 15:53:57 +02:00
Steve HOLWEG f6fab65f60 Add support for com.fibaro.binarySensor to fibaro (#65446) 2022-05-23 12:33:25 +02:00
rappenze 6442c5949b Revert usage of Fibaro Client V5 as it has too many errors (#71477) 2022-05-07 23:20:30 +03:00
Marc Mueller ee356aa851 Improve fibaro _init_controller typing (#70883) 2022-04-27 14:29:29 +02:00
rappenze e894ffecd8 Use platform enum consistently in fibaro integration (#69035) 2022-04-26 20:08:41 +02:00
rappenze 6d90eb6f34 Fix run scene for fibaro home center 3 (#70709) 2022-04-26 18:52:12 +02:00
Paulus Schoutsen 69fcce3b2c Remove energy usage from the switch base class (#68821)
* Remove energy usage from the switch base class

* Remove unused attributes from integrations
2022-03-28 18:56:04 -10:00
rappenze 33371bdd20 Change fibaro disconnect log level to debug (#68783) 2022-03-28 08:23:44 -07:00
rappenzeandJ. Nick Koston e844c2380a Add config flow to fibaro (#65203)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-03-26 09:50:50 -10:00
rappenze 09408234a6 Use basic entity attributes in fibaro integration (#64784)
* use basic entity attributes in fibaro integration

* use fibaro_device without self in constructor
2022-01-23 16:25:42 -06:00
rappenzeandFranck Nijhof 62e64eb8ab Extract fibaro switch energy attributes into sensors (#63697)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-01-19 19:32:44 +01:00
epenetandepenet d57c54c93e Add init type hints [f-g] (#63186)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-01 13:38:11 -08:00
Sebastian Lövdahl bc3bf2ffe3 Use Platform constants all over the place 1/3 (#62952) 2021-12-28 21:13:20 +01:00
Marc Mueller 2a8eaf0e0f Use assignment expressions 06 (#57786) 2021-10-17 20:05:11 +02:00
Marc Mueller 91df3fa904 Update typing 06 (#48039) 2021-03-17 23:49:01 +01:00
Erik Montnemery af4d06b12e Update integrations f-i to override extra_state_attributes() (#47757) 2021-03-11 16:57:47 +01:00
Quentame 198ecb0945 Uniformize platform setup (#47101)
* A platform is not a component

* Fix dynalite

* SUPPORTED_PLATFORMS --> PLATFORMS

* In tests

* In tests 2

* Fix SmartThings

* Fix ZHA test

* Fix Z-Wave

* Revert Z-Wave

* Use PLATFORMS const in ambient_station

* Fix ihc comment
2021-03-02 21:43:59 +01:00
springstan a967f689c7 Remove unnecessary instances of dict.keys() (#42518) 2020-10-28 20:43:48 +01:00
springstan 916178925e Return attribute dict directly without temporary variable v3 (#41502) 2020-10-08 21:33:08 +02:00
pbalogh77 3a36a789ad Improve climate support for fibaro (#39038)
* Fibaro climate improvements

1, Implemented support for multinode climate devices, such as Danfoss HC10, differentiating zones based on endPointId
2, Improved recognition of temperature sensor subdevice for climate devices
3, Changed default opmode for devices without an opmode to "auto" instead of "fan_only", for better clarity and to avoid misunderstandings

* pylint inspired code restructuring to reduce depth

gotta love pylint
2020-09-06 21:03:03 -05:00
pbalogh77 6348f130bc Add basic lock support for fibaro (#38962)
Added very basic support for locks in the Fibaro integration.
2020-08-28 21:16:02 -05:00
pbalogh77andMartin Hjelmare 5a4de04bcf Fix HC3 compatibility further (#38931)
* Update __init__.py

Further fixes for HC3 compatibility.

* Update homeassistant/components/fibaro/__init__.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-08-17 08:19:34 +02:00
pbalogh77 fe07d79744 Fix Fibaro component failure to load with HC3 (#38528)
Fixed a rarely occuring problem (maybe a change with Fibaro HC3) where some scenes don't have a "visible" parameter, which was assumed to be mandatory in the past.
2020-08-04 14:55:03 +02:00
Daniel Pervan 5b3d094a1e Fix Fibaro HC light switches not being configured as Light entities (#37690) 2020-07-14 22:47:05 +02:00
Franck Nijhof 53545c984b Log lines do not end with a full stop (#37527) 2020-07-05 23:04:19 +02:00
Franck Nijhof 7653dc947a Enable pylint unnecessary-pass (#33650)
* Enable pylint unnecessary-pass

* Process review suggestions

* Fix smhi tests
2020-04-05 10:33: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
Franck Nijhof 7143ed7ceb Remove hidden property from fibaro integration (#30730) 2020-01-13 14:23:08 +01:00
Ville Skyttä fa4fa30461 Various string cleanups (#30435)
* Remove some unnecessary string concatenations

* Replace some simple str.formats with f-strings

* Replace some string concatenations with f-strings
2020-01-03 14:47:06 +01:00
Ville Skyttä e6388e186c Remove unnecessary string literal concatenations (#30360) 2020-01-02 21:17:10 +02:00
Quentame 5edc45e9af Move fibaro imports at top-level (#28995) 2019-11-25 14:12:01 +01:00
Franck Nijhof fa79ef1220 Use literal string interpolation in integrations E-G (f-strings) (#26379) 2019-09-03 17:10:56 +02:00
Paulus Schoutsen 4de97abc3a Black 2019-07-31 12:25:30 -07:00
pbalogh77 7d4083cdd3 Changed scene unique IDs (#22987)
There was a potential unique ID collission which caused problems for some users, as scenes and devices are enumerated separately, so the same ID could be assigned to in they are unnamed.
So I changed the unique ID generation for scenes to avoid this, which is a breaking change wrt scenes.
2019-04-17 09:56:34 -07:00
cgtobi 2c07bfb9e0 Remove dependencies and requirements (#23024)
* Remove dependencies and requirements

* Revert "Remove dependencies and requirements"

This reverts commit fe7171b4cd30889bad5adc9a4fd60059d05ba5a7.

* Remove dependencies and requirements

* Revert "Remove dependencies and requirements"

This reverts commit 391355ee2cc53cbe6954f940062b18ae34b05621.

* Remove dependencies and requirements

* Fix flake8 complaints

* Fix more flake8 complaints

* Revert non-component removals
2019-04-12 10:13:30 -07:00
pbalogh77 1a05f7b04d Initial Fibaro HC Climate support (#20256)
* Initial version of climate

* initial commit of climate device support

* Fixed opmode and fanmode

* Cleanup

* meh

* added back all other components

Oops

* wider support for thermostats

Added one more identifier for thermostats to broaden compatibility

* Added even more climate types

* Reworked detection mechanism

Better support for combined devices

* Added additional modes

* force visibility on climate

* Changed logging of device data

* Improved operatingmode support

Improved operatingmode support

* Updated logic for opmode/fanmode list creation

Implemented a universal mapping logic for opmode and fanmode, to make it more widely compatible
Improved mapping of Fibaro FGT devices

* Lint fixes

* bump

* Fixes based on code review

* Fixes

* Moved to fibaro folder

* lint inspired cosmetic changes

* Mapped all operating modes to existing HA ones

Mapped all operating modes to existing HA ones

* Improved compatibility with Heatit thermostats

Thanks to astrandb for testing, debugging and fixing my code

* Changes based on code review

Changes based on code review

* more fixes based on more code review

more fixes based on more code review
2019-04-09 06:24:57 +02: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
pbalogh77 7dac7b9e5e Support for multiple Fibaro gateways (#19705)
* Preparing for transition to config flow

Added multiple gateway support
Reworked parameter flow to platforms to enable multiple controllers
Breaking change to config, now a list of gateways is expected instead of a single config

* Updated coveragerc

Added new location of fibaro component

* Fixes based on code review and extended logging

Addressed issues raised by code review
Added extended debug logging to get better reports from users if the device type mapping is not perfect

* Changhes based on code review

Changes to how configuration is read and schemas
Fix to device type mapping logic

* simplified reading config

* oops

oops

* grr

grr

* change based on code review

* changes based on code review

changes based on code review
2019-01-11 15:29:54 -08:00