Jafar Atili
e8650dd4b7
Add climate platform to switchbee integration ( #78385 )
...
* Added Climate platform to switchbee integration
* uploaded missing file
* Applied code review feedback from other PR
* Addressed comments from previous PRs
* fixed misspell error
* fixed mistake in the code
* added type hints
* fixes
* fixes
* Update homeassistant/components/switchbee/climate.py
Co-authored-by: Shay Levy <levyshay1@gmail.com>
* Update homeassistant/components/switchbee/entity.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Update homeassistant/components/switchbee/climate.py
Co-authored-by: Shay Levy <levyshay1@gmail.com>
* Update homeassistant/components/switchbee/climate.py
Co-authored-by: Shay Levy <levyshay1@gmail.com>
* Update homeassistant/components/switchbee/climate.py
Co-authored-by: Shay Levy <levyshay1@gmail.com>
* Update homeassistant/components/switchbee/climate.py
Co-authored-by: Shay Levy <levyshay1@gmail.com>
* Update homeassistant/components/switchbee/climate.py
Co-authored-by: Shay Levy <levyshay1@gmail.com>
* Update homeassistant/components/switchbee/climate.py
Co-authored-by: Shay Levy <levyshay1@gmail.com>
* fixes
* Update homeassistant/components/switchbee/climate.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* fixes
* Update homeassistant/components/switchbee/climate.py
* Update homeassistant/components/switchbee/climate.py
Co-authored-by: Shay Levy <levyshay1@gmail.com>
* more fixes
Co-authored-by: Shay Levy <levyshay1@gmail.com>
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-10-03 21:34:02 +03:00
Jafar Atili
75510b8e90
Add cover platform for switchbee integration ( #78383 )
...
* Added Platform cover for switchbee integration
* added cover to .coveragerc
* Applied code review feedback from other PR
* Addressed comments from other PRs
* rebased
* Re-add carriage return
* Update homeassistant/components/switchbee/cover.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Update homeassistant/components/switchbee/cover.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Update homeassistant/components/switchbee/cover.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Update homeassistant/components/switchbee/cover.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* addressed CR comments
* fixes
* fixes
* more fixes
* more fixes
* separate entities for cover and somfy cover
* fixed isort
* more fixes
* more fixes
* Update homeassistant/components/switchbee/cover.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Update homeassistant/components/switchbee/cover.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* more fixes
* more fixes
* more
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-09-29 15:03:39 +02:00
Jafar Atili
de3a1f444c
Add light platform for switchbee integration ( #78382 )
...
* Added Light platform for switchbee integration
* added light to .coveragerc
* Applied code review feedback from other PR
* Fixes based on previous reviewes
* fixed small mistake
* added test coverage for light
* aligned code with other PR
* rebased
* fixes
* removed unecessary changes
* Update homeassistant/components/switchbee/light.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Update homeassistant/components/switchbee/light.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* more fixes
* more fixes
* adjusting switch with the new change
* more fixes
* Update homeassistant/components/switchbee/light.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Update homeassistant/components/switchbee/light.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Update homeassistant/components/switchbee/light.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-09-28 16:30:33 +02:00
Jafar Atili
c97817bb0e
Add Button platform to switchbee integration ( #78386 )
...
* Added Button platform to switchbee integration
* fixed review comments
* Addressed CR comments
* Update homeassistant/components/switchbee/button.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Update homeassistant/components/switchbee/button.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Update homeassistant/components/switchbee/button.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* removed the zone name from the entity name
* Re-add space
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-09-22 14:20:32 +02:00
Jafar Atili
491177e5d3
Address late review of SwitchBee ( #78412 )
2022-09-16 14:19:50 +02:00
jafar-atili
24266f1426
Add SwitchBee Integration ( #70201 )
...
* Add SwitchBee Integration
* fixes
* improved API and more logs
* fixed test_config_flow code
* removed light and cover
* Fixed CR comments, updated pylib, improved response time and lowered the scan interval for lower latency
* CR fixes, added advanced setup form to let the
user choose the following:
- scan interval in seconds: default 5
- whether to expose scenarios and group switches from the CU or not
* used SCAN_INTERVAL_SEC instead of typing just the number
* Fixed PR comments, added unit tests
* fixes
* Improved the pypi and updated the code accordingly
* Add SwitchBee Integration
* fixes
* improved API and more logs
* fixed test_config_flow code
* removed light and cover
* Fixed CR comments, updated pylib, improved response time and lowered the scan interval for lower latency
* CR fixes, added advanced setup form to let the
user choose the following:
- scan interval in seconds: default 5
- whether to expose scenarios and group switches from the CU or not
* used SCAN_INTERVAL_SEC instead of typing just the number
* Fixed PR comments, added unit tests
* fixes
* Improved the pypi and updated the code accordingly
* fixes
* restored new line in .coveragerc
* test: increased config_flow test coverage
* removed two way type
* Updated CODEOWNERS
* fix: code review comments
* fixed review comments
* added device_info
* moved device info to attribute
2022-09-13 09:01:29 +02:00