Commit Graph

46 Commits

Author SHA1 Message Date
Otto Winter 52cf01e11a
Add flake8, black, isort and mypy linting (#39) 2021-06-18 17:57:02 +02:00
Otto Winter a72957e2f0
Safe enum conversion (#37) 2021-06-18 16:57:07 +02:00
Otto Winter ee2c5d9152
Fix bad default values in model (#40) 2021-06-18 16:16:20 +02:00
Franck Nijhof a6a25d88b7
Add support for Sensor state class (#33) 2021-05-26 09:39:01 +12:00
Franck Nijhof fa6d8de974
Add entity attribute to Home Assistant state subscribtions (#30) 2021-05-12 20:57:01 +12:00
Jim Ekman 8cdfa9c4ea
Add support for fan speed level (#27)
* Add support for percentage based fan speeds

* Use speed levels
2021-03-13 21:21:09 -03:00
J. Nick Koston 96b75c5337
Avoid a jump to the executor to unpack an ip address string (#26)
Avoids executor overload on Home Assistant startup

2021-02-13 18:31:38 DEBUG (MainThread) [homeassistant.runner] Calling executor with function: <function getaddrinfo at 0x7f00184c8ca0>, args: ('10.45.211.201', 6053, <AddressFamily.AF_INET: 2>, 0, 6, 0), kwargs: {}
2021-02-13 18:31:51 DEBUG (MainThread) [homeassistant.runner] Calling executor with function: <function getaddrinfo at 0x7f00184c8ca0>, args: ('10.45.210.102', 6053, <AddressFamily.AF_INET: 2>, 0, 6, 0), kwargs: {}
2021-02-13 18:31:51 DEBUG (MainThread) [homeassistant.runner] Calling executor with function: <function getaddrinfo at 0x7f00184c8ca0>, args: ('10.45.211.180', 6053, <AddressFamily.AF_INET: 2>, 0, 6, 0), kwargs: {}
2021-02-13 18:31:51 DEBUG (MainThread) [homeassistant.runner] Calling executor with function: <function getaddrinfo at 0x7f00184c8ca0>, args: ('10.45.210.100', 6053, <AddressFamily.AF_INET: 2>, 0, 6, 0), kwargs: {}
2021-02-13 18:31:51 DEBUG (MainThread) [homeassistant.runner] Calling executor with function: <function getaddrinfo at 0x7f00184c8ca0>, args: ('10.45.214.225', 6053, <AddressFamily.AF_INET: 2>, 0, 6, 0), kwargs: {}
2021-02-13 18:31:51 DEBUG (MainThread) [homeassistant.runner] Calling executor with function: <function getaddrinfo at 0x7f00184c8ca0>, args: ('10.45.213.240', 6053, <AddressFamily.AF_INET: 2>, 0, 6, 0), kwargs: {}
2021-02-13 18:31:51 DEBUG (MainThread) [homeassistant.runner] Calling executor with function: <function getaddrinfo at 0x7f00184c8ca0>, args: ('10.45.213.168', 6053, <AddressFamily.AF_INET: 2>, 0, 6, 0), kwargs: {}
2021-02-13 18:31:51 DEBUG (MainThread) [homeassistant.runner] Calling executor with function: <function getaddrinfo at 0x7f00184c8ca0>, args: ('10.45.210.29', 6053, <AddressFamily.AF_INET: 2>, 0, 6, 0), kwargs: {}
2021-02-13 18:31:51 DEBUG (MainThread) [homeassistant.runner] Calling executor with function: <function getaddrinfo at 0x7f00184c8ca0>, args: ('10.45.209.89', 6053, <AddressFamily.AF_INET: 2>, 0, 6, 0), kwargs: {}
2021-02-13 18:31:51 DEBUG (MainThread) [homeassistant.runner] Calling executor with function: <function getaddrinfo at 0x7f00184c8ca0>, args: ('10.45.209.250', 6053, <AddressFamily.AF_INET: 2>, 0, 6, 0), kwargs: {}
2021-02-13 18:31:51 DEBUG (MainThread) [homeassistant.runner] Calling executor with function: <function getaddrinfo at 0x7f00184c8ca0>, args: ('10.45.214.56', 6053, <AddressFamily.AF_INET: 2>, 0, 6, 0), kwargs: {}
2021-02-13 18:31:51 DEBUG (MainThread) [homeassistant.runner] Calling executor with function: <function getaddrinfo at 0x7f00184c8ca0>, args: ('10.45.209.137', 6053, <AddressFamily.AF_INET: 2>, 0, 6, 0), kwargs: {}
2021-02-13 18:32:04 DEBUG (MainThread) [homeassistant.runner] Calling executor with function: <function getaddrinfo at 0x7f00184c8ca0>, args: ('10.45.209.89', 6053, <AddressFamily.AF_INET: 2>, 0, 6, 0), kwargs: {}
2021-02-13 18:32:14 DEBUG (MainThread) [homeassistant.runner] Calling executor with function: <function getaddrinfo at 0x7f00184c8ca0>, args: ('10.45.209.89', 6053, <AddressFamily.AF_INET: 2>, 0, 6, 0), kwargs: {}
2021-02-13 18:32:23 DEBUG (MainThread) [homeassistant.runner] Calling executor with function: <function getaddrinfo at 0x7f00184c8ca0>, args: ('10.45.209.89', 6053, <AddressFamily.AF_INET: 2>, 0, 6, 0), kwargs: {}
2021-02-13 18:32:58 DEBUG (MainThread) [homeassistant.runner] Calling executor with function: <function getaddrinfo at 0x7f00184c8ca0>, args: ('10.45.209.89', 6053, <AddressFamily.AF_INET: 2>, 0, 6, 0), kwargs: {}
2021-02-13 18:33:10 DEBUG (MainThread) [homeassistant.runner] Calling executor with function: <function getaddrinfo at 0x7f00184c8ca0>, args: ('10.45.209.89', 6053, <AddressFamily.AF_INET: 2>, 0, 6, 0), kwargs: {}
2021-02-13 18:33:19 DEBUG (MainThread) [homeassistant.runner] Calling executor with function: <function getaddrinfo at 0x7f00184c8ca0>, args: ('10.45.209.89', 6053, <AddressFamily.AF_INET: 2>, 0, 6, 0), kwargs: {}
2021-02-15 11:58:11 -03:00
marecabo 10b0d82a23
Add device_class attribute to sensor (#25) 2021-02-15 11:55:10 -03:00
Jim Ekman fa48a08445
Add support for fan direction (#8) 2020-12-14 00:16:37 -03:00
J. Nick Koston ff70932064
Ability to use the shared Home Assistant Zeroconf instance (#13) 2020-08-22 00:45:29 -03:00
Otto Winter 8bf95336d6
Add pylint 2020-07-14 20:00:12 +02:00
Otto Winter d225cb305a
Merge branch 'master' of https://github.com/esphome/aioesphomeapi 2020-07-14 19:46:55 +02:00
Otto Winter 90f32e7a63
Update requirements 2020-07-14 19:46:45 +02:00
Paulus Schoutsen 7a186109d7
Remove cmp=True from APIVersion 2020-01-29 22:03:58 -08:00
Otto Winter dbf4797537
Add more climate actions
See also https://github.com/esphome/esphome/pull/859
2019-11-23 20:36:12 +01:00
Otto Winter 9b39ce7f42
Regenerate api_pb2.py 2019-11-16 16:35:29 +01:00
Guillermo Ruffino 511cb62dd9 Add climate feature fan (#4)
* f1

* renamed to fan_mode

* fixes, add back compat with ha

* revert client_version - add swing
2019-11-16 16:34:14 +01:00
Otto Winter 91b2e0ceb4
Add missing_state property 2019-11-12 14:55:35 +01:00
Otto Winter a30e6c2f8c
Bump version to 2.4.2
Forgot to commit a file 😐
2019-10-24 19:38:12 +02:00
Otto Winter 10724ea3e5
Add defaults to all fields in model.py
See also https://github.com/home-assistant/home-assistant/issues/28157
2019-10-24 13:59:06 +02:00
Otto Winter 9c514ebe54
Add sensor force_update option (#3) 2019-10-21 15:09:07 +02:00
Otto Winter 3aa6da676a
Update to use new enum 2019-10-17 21:25:54 +02:00
Otto Winter 1ee792ff39
Update proto to match esphome 2019-10-17 21:25:39 +02:00
Marcel van der Veldt 8cb72b7e69 add climate action attribute to climate state
for backwards compatability
2019-09-26 19:50:59 +02:00
Otto Winter 2b7a4b27b3
Rename ServiceCall to HomeassistantServiceCall 2019-06-18 11:10:32 +02:00
Otto Winter 7ade99a614
New api.proto format, user-defined service arrays
See https://github.com/esphome/esphome/pull/633
2019-06-17 23:40:23 +02:00
Otto Winter 0e813dfd44
Use zeroconf resolver for .local domains first 2019-06-03 14:54:23 +02:00
Otto Winter 2f499c71d1
Fix Home Assistant Cannot Deserialize Models 2019-04-19 16:22:50 +02:00
Otto Winter e74118923e
Big Refactor 2019-04-07 19:03:26 +02:00
Otto Winter 46bd04631f
Add climate support 2019-03-27 22:10:33 +01:00
Otto Winter 0d67c464d7
CameraImageRequest 2019-03-09 11:02:44 +01:00
Otto Winter 97c0f496a8
Merge branch 'master' into camera
# Conflicts:
#	aioesphomeapi/api_pb2.py
#	aioesphomeapi/client.py
2019-03-08 13:50:48 +01:00
Otto Winter 2907240972
Add native API 2019-02-24 18:16:12 +01:00
Otto Winter 39b5ffca1a
Add zeroconf host resolver 2019-02-11 16:56:18 +01:00
Otto Winter 38c82e3971
Increase timeout 2019-01-29 14:31:53 +01:00
Otto Winter 9bcb7f1cce
Fix race condition 2019-01-19 15:26:29 +01:00
Otto Winter d37602cfdd
Unexpected error exception handling 2019-01-19 15:25:58 +01:00
Otto Winter 19118f9f3c
Recover from protobuf errors 2019-01-19 15:25:48 +01:00
Otto Winter 16fb2bff90
Fix transition length and flash length operation 2019-01-19 15:25:31 +01:00
Otto Winter d4c04f46e9
Camera 2019-01-19 15:10:00 +01:00
Otto Winter 9e7c0b9101
Bump version 2019-01-07 10:52:40 +01:00
Otto Winter fadcdb1501
Restructure API for prevent race conditions 2019-01-04 18:35:38 +01:00
Otto Winter 0213daa0a2
Home Assistant States 2018-12-18 14:53:52 +01:00
Otto Winter aed15d8859
Rename to ESPHome Core 2018-12-17 09:31:56 +01:00
Otto Winter 632b002b09
Update 2018-12-16 18:03:03 +01:00
Otto Winter f8ec2684cb
Initial commit 2018-12-13 21:34:57 +01:00