J. Nick Koston
c3d9192384
Migrate smartthings to use async_update_entry to alter config entries ( #110403 )
2024-02-12 21:24:45 +01:00
J. Nick Koston
02efe41564
Avoid directly changing config entry state in tests ( #110048 )
2024-02-08 16:31:17 -06:00
G Johansson
cac0d07549
Add TURN_ON/OFF ClimateEntityFeature for smartthings ( #108979 )
2024-01-30 17:56:52 +01:00
G Johansson
bc720b48b4
Add TURN_OFF and TURN_ON to ClimateEntityFeature ( #101673 )
...
* Add ClimateEntityFeature.TURN_OFF
* Fixes
* Fixes
* wording
* Change to services
* Fixing
* Fixing
* Last bits
* Review comments
* Add hvac_modes checks
* Fixes
* Add tests
* Review comments
* Update snapshots
* balboa
* coolmaster
* ecobee
* mqtt
* nest
* plugwise
* smarttub
* whirlpool
* zwave_js
* fix test climate
* test climate
* zwave
* nexia
* nuheat
* venstar
* tado
* smartthings
* self.hvac_modes not None
* more tests
* homekit_controller
* homekit controller snapshot
2024-01-30 15:07:47 +01:00
Grant
8395d84bbb
Add fan mode support to SmartThings fan entity ( #106794 )
...
* Fix the fan to support preset modes
* Add more tests and fix some comments
* Don't override inherited member
* Don't check for supported feature as the check is already performed before here
* Do not check for feature on properties
* Update homeassistant/components/smartthings/fan.py
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Fix tests
---------
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2024-01-13 17:25:26 +01:00
Jakub Čermák
41626ed500
Support for more features on smartthings AC ( #99424 )
...
* ability to set swing mode on samsung AC
* support for windFree mode on samsung AC
* Apply suggestions from code review
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* suggestion from code reviews
* Apply suggestions from code review
---------
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-11-22 20:00:28 +01:00
Ville Skyttä
b51c0f6ddc
Remove unnnecessary pylint configs from components [s-z]* ( #98925 )
2023-08-24 01:25:32 +02:00
Paulus Schoutsen
ced4af1e22
Ignore smartthings storage on fresh install ( #98418 )
...
* Ignore smartthings storage on fresh install
* Also unload existing things when going for clean install
* Rename param
* Fix tests
2023-08-14 21:39:05 -05:00
Erik Montnemery
fcdfeb74c8
Adjust smartthings tests which create devices ( #98207 )
2023-08-10 18:26:20 +02:00
Andrew Sayre
4ae69787a2
Fix SmartThings Cover Set Position (for window shades) ( #96612 )
...
* Update smartthings dependencies
* Update cover to support window_shade_level
2023-07-18 14:13:31 +02:00
Erik Montnemery
7539cf25be
Don't require passing identifiers to DeviceRegistry.async_get_device ( #96479 )
...
* Require keyword arguments to DeviceRegistry.async_get_device
* Update tests
* Update tests
* Don't enforce keyword arguments
2023-07-13 13:39:25 -04:00
Guillaume Duveau
23d5fb9622
Add more device info for SmartThings devices ( #95723 )
...
* Add more device info for SmartThings devices
* Fix binary_sensor test
* Fix binary sensor test, try 2
* Fix and add SmartsThings new device info tests
2023-07-06 14:26:46 -04:00
epenet
24428d98a1
Fix lingering timer in smartthings tests ( #91697 )
2023-04-21 18:58:07 +02:00
epenet
3a9adacdde
Add type hints to integration tests (part 20) ( #88179 )
2023-02-15 15:23:34 +01:00
Franck Nijhof
9030ca05b1
Enable Ruff SIM118 ( #87772 )
2023-02-15 12:39:12 +01:00
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
ba85fdcd61
Add type hints to integration tests (q-s) ( #87706 )
2023-02-08 08:12:54 -08:00
epenet
aa00114c2f
Add return type to async tests without arguments ( #87612 )
2023-02-07 10:26:56 +01:00
Franck Nijhof
ca1a12898c
Enable Ruff D212 ( #87347 )
2023-02-03 23:08:48 +01:00
Franck Nijhof
5e81d28116
Update black to 23.1.0 ( #87188 )
2023-02-02 18:35:24 +01:00
epenet
30bf0634fe
Add per-file-ignore to pylint ( #86289 )
2023-01-22 17:26:24 +01:00
Franck Nijhof
79b52a2b41
Stricter pylint message control ( #86154 )
2023-01-20 13:47:55 +01:00
epenet
0d696b84b2
Cleanup root component imports in tests ( #78893 )
2022-09-21 06:57:41 -10:00
epenet
0ac581a0b1
Cleanup EntityFeature in tests ( #78859 )
2022-09-21 10:48:55 +02:00
Erik Montnemery
8936c91f50
Migrate smartthings light to color_mode ( #70968 )
2022-08-30 20:45:52 +02:00
Franck Nijhof
7cd68381f1
Search/replace RESULT_TYPE_* by FlowResultType enum ( #74642 )
2022-07-07 19:57:36 +03:00
mbo18
9d73f9a2c5
Move power and energy attributes to sensors for SmartThings Air conditioner ( #72594 )
...
Move power and energy attribute to sensor for Air conditioner
2022-06-29 11:02:20 +02:00
epenet
6bb685eaba
Use LightEntityFeature enum in smartthings ( #71057 )
2022-04-29 22:42:45 +03:00
epenet
98d757b2b2
Use climate enums in smartthings ( #70737 )
2022-04-26 09:12:54 +02:00
J. Nick Koston
723dcbafca
Complete fan speed transition from #59781 ( #67743 )
2022-03-09 10:38:12 +01:00
epenet
2c0033254b
Import cloud ( #64116 )
...
* Add type hints to cloud
* Import cloud
* Adjust smartthings tests
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-14 16:35:35 +01:00
Franck Nijhof
3f7275a9c7
Give scenes last activated state ( #62673 )
2022-01-07 19:02:32 +01:00
Dave T
79ef4dea98
Use new enums in smartthings tests ( #62708 )
...
* Use new enums in smartthings tests
* Convert == to is
2021-12-23 23:14:10 +01:00
Robert Hillis
85aeee7cc7
Add smartthings configuration_url ( #58676 )
2021-11-14 20:37:40 +01:00
Allen Porter
d49c5d511b
Add entity_category to SmartThings sensors ( #58375 )
2021-10-26 14:55:03 +02:00
Ville Skyttä
50e0c58310
Use http.HTTPStatus in components/s* ( #58291 )
2021-10-23 20:49:04 +02:00
Paulus Schoutsen
a4d9019ffc
Refactor persistent notification to no longer route all data via a service ( #57157 )
...
* Convert persistent notification tests to async
* Create/dismiss persistent notifications in exposed functions, not service calls
* Fix notify persistent_notification
* Remove setting up persistent_notification
* Drop more setups
* Empty methods
* Undeprecate sync methods because too big task
* Fix setup clearing notifications
* Fix a bunch of tests
* Fix more tests
* Uno mas
* Test persistent notification events
* Clean up stale comment
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-10-07 12:58:00 +02:00
Ville Skyttä
2730a27fd0
Use HTTPStatus instead of HTTP_* constants in various test mocks ( #56543 )
2021-10-01 15:52:45 -07:00
Chris
14aa19b814
Fix unique_id conflict in smarttthings ( #55235 )
2021-08-26 13:43:26 -07:00
Chris
cfc5111561
Handle powerConsumption reports with null value ( #53888 )
2021-08-02 20:50:57 -07:00
Chris
8ac1f5d28a
Add energy consumption sensors to smartthings devices ( #53759 )
2021-08-01 20:35:03 -07:00
Michael
2b2cddb5f0
Extract smartthings switch energy attributes into sensors ( #53719 )
2021-07-29 21:50:02 -07:00
Erik Montnemery
1d9d9021de
Do not attempt to unload non loaded config entries ( #51356 )
2021-06-02 10:00:24 +02:00
Paulus Schoutsen
ee2c950716
Merge system options into pref properties ( #51347 )
...
* Make system options future proof
* Update tests
* Add types
2021-06-01 22:34:31 +02:00
Franck Nijhof
c68b259bd3
Cleanup of unused connection_class logic ( #49865 )
...
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2021-04-29 23:12:58 +02:00
Ville Skyttä
153d6e891e
Use config_entries.SOURCE_* constants ( #49631 )
2021-04-25 11:27:40 +02:00
Erik Montnemery
ba2978c693
Update tests p-s to use async_get() instead of async_get_registry() ( #47654 )
2021-03-09 14:28:32 +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
Ville Skyttä
dc880118a4
Lint suppression cleanups ( #47248 )
...
* Unused pylint suppression cleanups
* Remove outdated pylint bug references
* Add flake8-noqa config and note to run it every now and then
* Add codes to noqa's
* Unused noqa cleanups
2021-03-02 09:02:04 +01:00
Paulus Schoutsen
9e07910ab0
Mark entities as unavailable when they are removed but are still registered ( #45528 )
...
* Mark entities as unavailable when they are removed but are still registered
* Add sync_entity_lifecycle to collection helper
* Remove debug print
* Lint
* Fix tests
* Fix tests
* Update zha
* Update zone
* Fix tests
* Update hyperion
* Update rfxtrx
* Fix tests
* Pass force_remove=True from integrations
Co-authored-by: Erik <erik@montnemery.com>
2021-02-08 10:45:46 +01:00