Commit graph

399 commits

Author SHA1 Message Date
J. Nick Koston
4eca162a0a
Add reauth support to ISY994 (#71069) 2022-04-29 15:46:25 -07:00
J. Nick Koston
11b91e44c8
Fix unsafe websocket stop call in isy994 (#71071)
Fixes
```
2022-04-29 12:49:10 ERROR (MainThread) [homeassistant.config_entries] Error unloading entry Alexander (192.168.209.83) for isy994
Traceback (most recent call last):
  File "/Users/bdraco/home-assistant/homeassistant/config_entries.py", line 474, in async_unload
    result = await component.async_unload_entry(hass, self)
  File "/Users/bdraco/home-assistant/homeassistant/components/isy994/__init__.py", line 294, in async_unload_entry
    await hass.async_add_executor_job(_stop_auto_update)
  File "/opt/homebrew/Cellar/python@3.9/3.9.12/Frameworks/Python.framework/Versions/3.9/lib/python3.9/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/Users/bdraco/home-assistant/homeassistant/components/isy994/__init__.py", line 292, in _stop_auto_update
    isy.websocket.stop()
  File "/Users/bdraco/home-assistant/venv/lib/python3.9/site-packages/pyisy/events/websocket.py", line 110, in stop
    self.websocket_task.cancel()
  File "/opt/homebrew/Cellar/python@3.9/3.9.12/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 753, in call_soon
    self._check_thread()
  File "/opt/homebrew/Cellar/python@3.9/3.9.12/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 790, in _check_thread
    raise RuntimeError(
RuntimeError: Non-thread-safe operation invoked on an event loop other than the current one
```
2022-04-29 21:18:06 +03:00
J. Nick Koston
6644050811
Add discovery support for polisy to isy994 (#70940) 2022-04-27 21:18:32 -07:00
epenet
d288c569fa
Use climate enums in isy994 (#70678) 2022-04-25 18:28:56 -10:00
epenet
50823045e8
Use ColorMode enum in isy994 (#70509) 2022-04-23 09:06:23 -10:00
epenet
e6d8aa34fa
Use EntityFeature enum in components (i**) (#69409) 2022-04-06 21:35:27 -10:00
shbatm
433a946f62
Bump PyISY to 3.0.6 to fix group statuses (#69345) 2022-04-05 22:20:38 +03:00
Erik Montnemery
e9a60418c2
Migrate isy994 light to color_mode (#69282) 2022-04-04 18:19:32 +02:00
epenet
ecd43f391f
Prettify json (manifest.json) (#68886) 2022-03-30 10:56:37 +02:00
Marc Mueller
911b159281
Cleanup after pylint update (#68657) 2022-03-26 00:34:12 +01:00
J. Nick Koston
bfb8765752
Bump pyisy to 3.0.5 (#68069)
* Bump pyisy to 3.0.4

- Fixes #66003

- Changelog: https://github.com/automicus/PyISY/compare/v3.0.1...v3.0.4

* again
2022-03-13 16:33:55 +02:00
GitHub Action
c64b4d997b [ci skip] Translation update 2022-03-13 00:18:58 +00:00
GitHub Action
66d757115c [ci skip] Translation update 2022-03-11 00:21:48 +00:00
J. Nick Koston
723dcbafca
Complete fan speed transition from #59781 (#67743) 2022-03-09 10:38:12 +01:00
GitHub Action
102ae9f0e3 [ci skip] Translation update 2022-02-22 00:17:23 +00:00
GitHub Action
c4cc6ca0ba [ci skip] Translation update 2022-02-20 00:20:09 +00:00
J. Nick Koston
dad4cdb45d
Enable dhcp flows for isy994 registered devices (#66588) 2022-02-15 18:46:09 -06:00
GitHub Action
208671418e [ci skip] Translation update 2022-02-16 00:14:09 +00:00
GitHub Action
fb96c31a27 [ci skip] Translation update 2022-02-09 00:23:56 +00:00
GitHub Action
b2f0882e67 [ci skip] Translation update 2022-02-04 00:13:58 +00:00
J. Nick Koston
6c38a6b569
Enable strict typing for isy994 (#65439)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-03 17:02:05 +01:00
epenet
a63e5c7ded
Add type hints for config entry update listeners (#65412) 2022-02-02 03:36:04 -06:00
GitHub Action
0be8060b69 [ci skip] Translation update 2022-02-01 00:18:49 +00:00
GitHub Action
ca7d4234e1 [ci skip] Translation update 2022-01-31 00:14:28 +00:00
GitHub Action
77ef86faee [ci skip] Translation update 2022-01-30 00:14:21 +00:00
J. Nick Koston
e85e91bdb0
Fix uncaught exception during isy994 dhcp discovery with ignored entry (#65165) 2022-01-28 21:14:30 -08:00
J. Nick Koston
5b755b74fb
Add loggers to integration manifest.json (#65083) 2022-01-28 13:37:53 -08:00
GitHub Action
dd4e5bb9c5 [ci skip] Translation update 2022-01-27 00:14:02 +00:00
GitHub Action
2aaca346bd [ci skip] Translation update 2022-01-25 00:14:30 +00:00
epenet
eafece3651
Add setup type hints (part 1) (#63955)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-12 08:49:46 +01:00
GitHub Action
0827608302 [ci skip] Translation update 2022-01-08 00:14:39 +00:00
epenet
fb272f58fb
Ensure service calls are typed [h-i] (#62914)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-28 14:19:14 +01:00
shbatm
36c7521508
Bump PyISY to v3.0.1 (#62646) 2021-12-22 21:22:27 -07:00
GitHub Action
cceedf766a [ci skip] Translation update 2021-12-22 00:14:51 +00:00
GitHub Action
d4f8a7c056 [ci skip] Translation update 2021-12-17 00:14:01 +00:00
epenet
f72b2e71ee
Use new BinarySensorDeviceClass in isy994 (#61825) 2021-12-15 19:11:46 -06:00
GitHub Action
f75b325ab2 [ci skip] Translation update 2021-12-12 00:14:30 +00:00
Marc Mueller
40b99135e5
Use platform enum (3) [H-L] (#60937)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2021-12-05 17:10:07 -10:00
epenet
92b149fffe
Use dataclass properties in isy994 discovery (#60715)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 06:45:09 -10:00
GitHub Action
c9589f763c [ci skip] Translation update 2021-12-01 00:17:12 +00:00
GitHub Action
2918e2d7d0 [ci skip] Translation update 2021-11-29 00:13:08 +00:00
GitHub Action
96313bbbe0 [ci skip] Translation update 2021-11-27 00:12:17 +00:00
GitHub Action
d3c020325b [ci skip] Translation update 2021-11-25 00:13:33 +00:00
GitHub Action
9e606abb0c [ci skip] Translation update 2021-11-23 00:13:54 +00:00
GitHub Action
72b0eb719e [ci skip] Translation update 2021-11-20 00:12:27 +00:00
epenet
14d4a9a69d
Use DhcpServiceInfo in isy994 (#59982)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 08:14:25 -06:00
GitHub Action
29dc9de08f [ci skip] Translation update 2021-11-19 00:14:01 +00:00
GitHub Action
f0c9f443d1 [ci skip] Translation update 2021-11-15 00:12:46 +00:00
GitHub Action
fc539da42b [ci skip] Translation update 2021-11-14 00:12:48 +00:00
GitHub Action
3f2b1fa952 [ci skip] Translation update 2021-11-12 00:12:35 +00:00