Commit Graph

11 Commits (57efa9569c2bb744f167c4e07b0f7600702fc091)

Author SHA1 Message Date
epenet a63e5c7ded
Add type hints for config entry update listeners (#65412) 2022-02-02 03:36:04 -06:00
epenet c8f2d4a82b
Use new enums in freedompro (#61445)
* Use new enums in freedompro
* Also update PLATFORMS

Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-13 12:57:16 +01:00
Tomasz e9f6bc7364
Add missing return type to async_unload_entry and async_setup_entry (#57115) 2021-10-06 10:48:11 +02:00
stefano055415 3f7cc176a8
Add climate support to Freedompro (#52720)
* Update Freedompro

* fix code and add test

* add check for unsupported mode

* add code for unsupported hvac_mode

* HVAC_INVERT_MAP and fix test

* change params hass to session

* set const and add ValueError

* fix ValueError text
2021-07-28 19:27:31 +02:00
stefano055415 6672962f2b
Add fan support to Freedompro (#52724)
* Update Freedompro

* Update Freedompro fix async_turn_on

* fix test end fix comments

* add property is_on

* add percent to fan freedompro

* fix name rotationSpeed to rotation_speed

* fix code SUPPORT_SET_SPEED
2021-07-16 15:14:37 +02:00
stefano055415 1a1fcb94f9
Add cover support to Freedompro (#52723)
* Update Freedompro

* add new test and fix code

* fix test and add support open and close
2021-07-16 11:56:05 +02:00
stefano055415 a057fd93bb
Add lock support Freedompro (#52725)
* change _attr_unique_id to unique_id and resolve conflict

* add test state updates from the API

* optimizer code test

* fix test

* fix comments and add test device registry
2021-07-15 09:31:50 +02:00
stefano055415 7aaa08f153
Add binary_sensor support to Freedompro (#52717)
* Update Freedompro

* change _attr_unique_id with unique_id
2021-07-13 18:37:09 +02:00
stefano055415 96f6e0e4a4
Add sensor support to Freedompro (#52726)
* Update Freedompro

* Update tests/components/freedompro/test_sensor.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* add new test for sensor and add unit_of measurement and state_class

* add test state updates from the API

* optimizer code test

* optimizer code sensor

* Update homeassistant/components/freedompro/sensor.py

* Fix imports

* Update homeassistant/components/freedompro/sensor.py

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

* Update homeassistant/components/freedompro/sensor.py

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

* Update homeassistant/components/freedompro/sensor.py

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

Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-07-13 13:59:34 +02:00
stefano055415 d09035db2a
Add switch support to Freedompro (#52727)
* Update Freedompro

* add test state updates from the API

* fix test switch

* fix test
2021-07-13 09:41:52 +02:00
stefano055415 d8337cf98f
Add Freedompro (#46332)
Co-authored-by: Milan Meulemans <milan.meulemans@live.be>
Co-authored-by: Maciej Bieniek <bieniu@users.noreply.github.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-06-30 13:21:06 +02:00