Franck Nijhof
3b5fd4bd06
Enable Ruff TRY004 ( #86811 )
2023-01-30 14:06:52 +01:00
epenet
e9f55f4e54
Apply hass-relative-import to tests (s-z) ( #78733 )
2022-09-19 09:51:31 +02:00
Leonardo Figueiro
34984a8af8
Add switch to wilight ( #62873 )
...
* Created switch.py and support
* updated support.py
* test for wilight switch
* Update for Test
* Updated test_switch.py
* Trigger service with index
* Updated support.py and switch.py
* Updated support.py
* Updated switch.py as PR#63614
* Updated switch.py
* add type hints
* Updated support.py
* Updated switch.py
* Updated switch.py and services.yaml
* Updated pywilight
* Update homeassistant/components/wilight/switch.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/wilight/switch.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/wilight/switch.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/wilight/switch.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update ci.yaml
* Update ci.yaml
* Updated as pywilight
Renamed Device as PyWiLightDevice in pywilight.
* Updated as pywilight
Renamed Device as PyWiLightDevice in pywilight.
* Updated as pywilight
Renamed Device as PyWiLightDevice in pywilight.
* Updated as pywilight
Renamed Device as PyWiLightDevice in pywilight.
* Update switch.py
* Update homeassistant/components/wilight/support.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update support.py
* Update switch.py
* Update support.py
* Update support.py
* Update switch.py
* Update switch.py
* Update services.yaml
* Update switch.py
* Update services.yaml
* Update switch.py
* Update homeassistant/components/wilight/switch.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/wilight/switch.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/wilight/switch.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update switch.py
* Update switch.py
* Update switch.py
* Update test_switch.py
* Update test_switch.py
* Update test_switch.py
* Decrease exception scope
* Clean up
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-08-07 11:07:01 +02:00
Franck Nijhof
a6244eea28
Search/replace RESULT_TYPE_* by FlowResultType enum ( #74656 )
2022-07-07 21:28:18 +02:00
epenet
22bdd38583
Use SsdpServiceInfo for SOURCE_SSDP tests (part 4) ( #60339 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-25 17:13:52 -06:00
Erik Montnemery
ecf4a7813a
Prevent 3rd party lib from opening sockets in wilight tests ( #56310 )
2021-09-17 15:27:26 +02:00
Ville Skyttä
7d03b02192
Spelling fixes ( #51642 )
2021-06-11 13:35:03 +02:00
Ville Skyttä
19d25cd901
Change config entry state to an enum ( #49654 )
...
* Change config entry state to an enum
* Allow but deprecate EntryState str equality comparison
* Test fixes
* Rename to ConfigEntryState
* Remove str comparability backcompat
* Update new occurrences of strs cropped up during review
2021-05-20 19:19:20 +02:00
jan iversen
9879b7becf
Rename HomeAssistantType to HomeAssistant, integrations w* - z* ( #49543 )
...
* Integration zha: HomeAssistantType -> HomeAssistant.
* Integration zerproc: HomeAssistantType -> HomeAssistant.
* Integration xbox: HomeAssistantType -> HomeAssistant.
* Integration wunderground: HomeAssistantType -> HomeAssistant.
* Integration wled: HomeAssistantType -> HomeAssistant.
* Integration water_heater: HomeAssistantType -> HomeAssistant.
* Integration websocket_api: HomeAssistantType -> HomeAssistant.
* Integration wilight: HomeAssistantType -> HomeAssistant.
2021-04-22 11:04:28 -04:00
Erik Montnemery
b3fecb1c95
Update tests t-z to use async_get() instead of async_get_registry() ( #47655 )
2021-03-09 14:25:03 +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
Leonardo Figueiro
6182fedf3f
Update wilight tests for new fan entity model ( #46358 )
2021-02-10 13:09:03 -10:00
Leonardo Figueiro
2db102e023
Add WiLight Cover ( #46065 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-02-10 09:08:39 -10:00
Leonardo Figueiro
d174c8265e
Add WiLight Fan ( #39541 )
...
* Add WiLight Fan
Add fan to WiLigt integration
* Updated fan.py and test_fan.py
* Creating new fan test
* Update homeassistant/components/wilight/__init__.py
OK!
Done!
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/wilight/fan.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/wilight/fan.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/wilight/fan.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* As MartinHjelmare requested
* Update fan.py
* Update tests/components/wilight/test_fan.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update tests/components/wilight/test_fan.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update test_fan.py
As Martin Hjelmare suggested
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-01-25 14:03:11 +01:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
Paulus Schoutsen
5dac3883b0
Stub light profiles ( #42232 )
2020-10-23 16:28:21 +02:00
Paulus Schoutsen
e303064f75
Don't use asynctest directly ( #41306 )
2020-10-06 10:15:50 +02:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +02:00
Leonardo Figueiro
a47f73244c
Add Wilight integration with SSDP ( #36694 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-08-24 14:15:07 +02:00