J. Nick Koston
0dfaa58f07
Simplify logic in send_message_callback_response ( #471 )
2023-07-15 08:00:33 -10:00
J. Nick Koston
9112a68bf9
Guard a few frequently called instance checks with if TYPE_CHECKING ( #469 )
2023-07-15 07:55:07 -10:00
J. Nick Koston
5f82e90b70
Reduce lookups for noise in the frame helper ( #465 )
2023-07-10 21:49:34 -10:00
J. Nick Koston
7a80e3529b
Improve error reporting when encryption is disabled on device but client requests it ( #464 )
2023-07-10 21:15:14 -10:00
J. Nick Koston
6b0d84110e
Avoid sending pings when we have traffic ( #463 )
2023-07-10 21:00:24 -10:00
J. Nick Koston
8ac62a321f
Improve performance of converting raw BLE advertisements ( #462 )
2023-07-09 13:06:06 -10:00
J. Nick Koston
b81fe760ba
Improve performance reassembling fragmented packets ( #461 )
2023-07-09 12:10:33 -10:00
J. Nick Koston
69b4c42cf3
Add checks for debug logging in the write path ( #458 )
2023-07-03 19:54:22 -05:00
J. Nick Koston
d53ab5d5bb
Use memoryview for camera images ( #456 )
2023-07-03 18:26:52 -05:00
J. Nick Koston
f3f5bd6b55
Reduce protocol overhead ( #454 )
2023-07-03 11:57:04 -05:00
J. Nick Koston
974b8e3ac1
Check if debug is enabled once per packet ( #455 )
2023-07-02 16:55:36 -05:00
J. Nick Koston
34f6badcde
Use slots for APIConnection and APIClient ( #453 )
2023-07-01 16:31:58 -05:00
J. Nick Koston
59a66ba870
Include the server name in the exception for invalid encryption key ( #452 )
2023-07-01 11:12:38 -05:00
J. Nick Koston
a8e7d40874
Speed up noise by using chacha20poly1305-reuseable ( #451 )
2023-06-30 09:04:26 -05:00
J. Nick Koston
4fe46f5aa0
Propagate if disconnect was expected to disconnect callback ( #448 )
2023-06-25 21:45:36 -05:00
J. Nick Koston
eaa5e295cf
Fix more cases where incorrect encryption keys were not detected ( #447 )
2023-06-24 10:47:24 -05:00
Graham Brown
a79da42aaf
Add support for alarm_control_panel entities ( #427 )
2023-06-12 10:39:49 +12:00
Jesse Hills
44f0b8027d
Add raw ble advertisements support ( #439 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-06-07 00:42:57 -05:00
Jesse Hills
8340d2a6b8
Add use_vad flag to VA start request ( #438 )
2023-05-30 14:17:55 +12:00
Jesse Hills
b1bfabacc7
Add conversation_id to VA start request ( #437 )
2023-05-30 11:18:28 +12:00
J. Nick Koston
8a661bb673
Reduce overhead to process bluetooth advertisements ( #435 )
2023-05-15 12:59:33 -05:00
J. Nick Koston
6b32b7c5a3
Avoid one dict lookup when processing packets ( #431 )
2023-05-08 10:07:51 -05:00
J. Nick Koston
7b8ed9fd03
Fix BLE connection timing out on failure instead of raising ( #429 )
2023-05-07 09:05:51 -05:00
J. Nick Koston
8261700bdd
Fix disconnecting while handshake is in process ( #428 )
2023-05-04 12:47:03 -05:00
J. Nick Koston
de9b7266f1
Refactor reconnect logic to reduce complexity ( #426 )
2023-04-25 16:11:40 -04:00
J. Nick Koston
3f29ac92ad
Hold strong references to voice assistant tasks ( #424 )
2023-04-20 14:30:28 -10:00
J. Nick Koston
032e921cb3
Use sloted dataclass for BluetoothLEAdvertisement ( #422 )
2023-04-19 20:50:10 -10:00
J. Nick Koston
a539a6e950
Improve data throughput ( #421 )
2023-04-19 20:47:38 -10:00
J. Nick Koston
d1951ebd90
Remove _convert_bluetooth_le_name as it did not need to be its own function ( #423 )
2023-04-19 20:47:26 -10:00
Jesse Hills
15846c5896
Add initial voice assistant support ( #412 )
2023-04-11 15:57:35 +12:00
J. Nick Koston
48792681f2
Reduce uuid conversion overhead ( #417 )
2023-04-04 16:21:52 -10:00
Jesse Hills
d7ae431c59
Disable pylint too-many-lines ( #413 )
2023-04-03 16:53:43 +12:00
J. Nick Koston
d6fd9b6cfd
Add the ability to clear the cache to the API ( #410 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-03-27 10:47:21 +13:00
richardhopton
4bb8fbbed1
feat: Unsubscribe from BLE advertisements fully on unsub ( #409 )
2023-03-27 09:35:11 +13:00
J. Nick Koston
b188803f46
Remove unused lock from frame helper ( #406 )
2023-03-17 12:09:34 -10:00
J. Nick Koston
eacf758900
Allow any message from the remote to cancel the pong timer ( #401 )
2023-03-13 09:56:36 -10:00
Fredrik Gustafsson
2041d747cb
add pairing methods ( #390 )
2023-03-07 07:07:58 +13:00
J. Nick Koston
0327f75414
Adjust ping timeout to prevent premature disconnections ( #395 )
2023-03-05 18:56:22 -10:00
J. Nick Koston
51d581dd9c
Cooldown before reconnecting on expected disconnect ( #397 )
2023-03-05 18:54:54 -10:00
J. Nick Koston
81f6e67038
Fix disconnect message not being sent when disconnecting during hello phase ( #396 )
2023-03-05 18:52:55 -10:00
Fredrik Gustafsson
3e60332a71
Fix bluetooth_device_connect returning prematurely from a disconnect ( #391 )
2023-02-24 08:31:24 -06:00
Jesse Hills
4860af1edf
Add current_temp step ( #384 )
2023-02-20 13:17:47 +13:00
J. Nick Koston
0656b65ca1
Ensure we hold strong references to tasks ( #382 )
2023-02-13 14:11:58 +13:00
J. Nick Koston
f99db3577c
Remove useless on_msg function in subscribe_logs ( #380 )
2023-02-13 11:42:14 +13:00
Alexander Momchilov
c62a0eff3b
Add supports_stop
to CoverInfo
( #276 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-02-13 11:41:21 +13:00
dependabot[bot]
422f25f776
Bump pylint from 2.15.10 to 2.16.1 ( #374 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-02-09 12:03:38 +13:00
Michael Muré
79190d02bd
climate: add support for quiet fan mode ( #232 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-02-09 11:50:38 +13:00
Jesse Hills
acf594d4c7
Add friendly_name to device info api ( #362 )
2023-01-16 12:10:04 +13:00
J. Nick Koston
a83838d025
Fix Invalid protobuf message: expected bytes, bytearray found and add coverage ( #359 )
2023-01-07 14:24:24 -10:00
J. Nick Koston
025376852b
Clear on_stop after calling instead of using a separate _on_stop_called
bool ( #357 )
2023-01-07 14:16:34 -10:00
J. Nick Koston
284b767d8d
Refactor cleanup to be a normal function ( #355 )
2023-01-06 21:42:39 -05:00
J. Nick Koston
2886d361f0
Simplify connection flow with an asyncio.Protocol ( #352 )
2023-01-05 23:24:10 -05:00
J. Nick Koston
049dc8bb56
Speed up parsing/conversion of BluetoothLEAdvertisement ( #353 )
2023-01-05 21:23:40 -05:00
J. Nick Koston
15edff86a3
Log the packet type when we get an invalid protobuf message ( #343 )
2023-01-03 17:40:17 -05:00
J. Nick Koston
b34664e44c
Fix failure to reconnect when the process task raises an exception during decoding a protobuf message ( #339 )
2022-12-13 10:31:12 -10:00
Alex Yao
3e99cd3177
Only start task if existing one is done ( #337 )
2022-12-12 20:18:35 -10:00
J. Nick Koston
6d4b9df969
Small speed up to parsing LE advertisement data ( #330 )
2022-12-04 17:21:19 -05:00
J. Nick Koston
9d9d19a2c1
Fix leak if send_message_callback_response raises ( #334 )
2022-12-04 17:20:12 -05:00
J. Nick Koston
e588e84e17
Handle socket reset errors while reading ( #333 )
2022-12-04 17:18:38 -05:00
J. Nick Koston
577868a84c
Add method to cancel bluetooth_gatt_start_notify upon ble device disconnect ( #329 )
2022-12-02 09:51:03 -10:00
J. Nick Koston
de5cdfa230
Callback messages to listeners by type ( #328 )
2022-12-02 09:36:58 -10:00
J. Nick Koston
3692478455
Optimize throughput of api to decrease latency ( #327 )
2022-12-02 14:12:19 -05:00
J. Nick Koston
6273f785f4
Reduce number of calls to readexactly ( #324 )
2022-12-01 11:47:26 +13:00
J. Nick Koston
a452e738ff
Move message parsing out of the read loop ( #323 )
2022-12-01 11:42:15 +13:00
J. Nick Koston
585d4cb569
Small speed ups to the bluetooth advertisement converts ( #325 )
2022-12-01 11:38:09 +13:00
J. Nick Koston
4f7a1faddd
Fix bluetooth write without response ( #326 )
2022-12-01 11:36:58 +13:00
J. Nick Koston
a937d9d85a
Add address_type to BluetoothLEAdvertisementResponse and BluetoothDeviceRequest ( #320 )
2022-11-29 17:00:27 +13:00
J. Nick Koston
e3094db6ad
Active BLE connection v3 ( #317 )
2022-11-29 15:06:13 +13:00
Jesse Hills
c3d610e45a
Increase timeout while waiting for ListEntities to be done ( #318 )
2022-11-28 23:07:58 +13:00
J. Nick Koston
ac303e8986
Fix connection subscription leak on cancelation ( #316 )
2022-11-28 23:06:06 +13:00
J. Nick Koston
14a2e30ec3
Wait for BLE disconnect when connecting timeouts ( #310 )
2022-11-23 07:32:04 +13:00
Jesse Hills
c2ed072c88
Protobuf version upgrades ( #307 )
2022-11-23 07:20:23 +13:00
Franck Nijhof
d9791d1874
Add device class support to number ( #309 )
2022-11-18 08:00:02 +13:00
Jesse Hills
356e4fbd8f
Catch error when task is stopped ( #306 )
2022-11-15 20:26:11 +13:00
J. Nick Koston
dbfff4397e
Fix BLE writes timing out ( #298 )
2022-11-07 08:32:32 +13:00
J. Nick Koston
c6e824e778
Improve bluetooth error reporting ( #297 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2022-11-01 09:32:40 +13:00
J. Nick Koston
6ea1da7620
Add a mapping for ESP_GATT_ERROR ( #296 )
2022-10-31 13:39:01 +13:00
Jesse Hills
c7edc2e601
Raise GATT errors on read and write etc ( #272 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-10-31 11:38:24 +13:00
J. Nick Koston
cb6b1595b7
Fix race while disconnecting after connect timeout ( #295 )
2022-10-31 11:26:09 +13:00
J. Nick Koston
56cceea672
Disconnect ble device if connect attempt fails to recover slot ( #293 )
2022-10-31 09:09:01 +13:00
J. Nick Koston
d4c44a3ccf
Add esp ble error code mappings ( #292 )
2022-10-29 22:43:55 +13:00
Jesse Hills
978c523e09
Get manufacturer name string from device ( #290 )
2022-10-25 17:00:07 +13:00
J. Nick Koston
745e0b688e
Adjust ble timeouts to be longer than bleak timeouts ( #287 )
2022-10-25 16:12:52 +13:00
Alex Yao
b550b294c7
Fix permanent disconnect issue ( #273 )
2022-10-24 07:11:16 -05:00
Jesse Hills
712f23d2b2
Fix process_task not ending correctly ( #271 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-10-07 09:37:47 +13:00
Jesse Hills
a6f18ae9df
Only try remove callbacks when not None ( #268 )
2022-10-03 12:32:13 +13:00
J. Nick Koston
4a1715536f
Increase underlying socket receive buffer ( #267 )
2022-10-03 11:32:26 +13:00
Jesse Hills
527420464d
Change has_bluetooth_proxy to a version ( #264 )
2022-09-29 21:51:03 -04:00
Jesse Hills
2103a7467a
Process messages in a separate task loop ( #263 )
2022-09-30 10:59:40 +13:00
Jesse Hills
c5779b3e17
Change BLE advertisement data to bytes ( #262 )
2022-09-30 09:12:49 +13:00
Jesse Hills
45d727cc03
A few fixes for BLE GATT ( #261 )
2022-09-30 07:25:18 +13:00
Jesse Hills
6a82766553
Add Bluetooth GATT calls ( #259 )
2022-09-28 12:50:37 -04:00
Jesse Hills
4426a94638
Add has_bluetooth_proxy
flag to device info ( #247 )
2022-08-22 15:50:43 +12:00
Jesse Hills
1273d689f1
Implement Bluetooth LE advertisement receiving ( #246 )
2022-08-22 15:27:46 +12:00
J. Nick Koston
1ffe252f6f
Change out asyncio.wait_for with async_timeout ( #243 )
2022-08-22 15:26:53 +12:00
Peter Galantha
7dc2a0d072
state class TOTAL added ( #229 )
2022-07-07 11:41:22 +12:00
Suryandaru Triandana
5831eb5f2a
Increase ListEntitiesRequest timeout to 30 seconds ( #234 )
2022-07-07 11:39:01 +12:00
Jesse Hills
c502231194
Assume volume (and therefore mute) is always supported ( #215 )
2022-05-18 21:50:06 +12:00
dependabot[bot]
6b6828043b
Bump mypy from 0.942 to 0.950 ( #204 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2022-05-18 15:39:03 +12:00
Jesse Hills
fcd529bb32
Add media player entities ( #214 )
2022-05-18 13:28:40 +12:00
Otto Winter
3752b8280e
Fix no timeout for handshake ( #176 )
2022-02-09 16:29:50 +01:00
dependabot[bot]
1eebbfc1e0
Bump black from 21.12b0 to 22.1.0 ( #169 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Otto winter <otto@otto-winter.com>
2022-01-31 17:38:57 +01:00
Otto Winter
23467210b1
Export BadNameAPIError in main module ( #166 )
2022-01-23 20:23:13 +01:00
Otto Winter
9964034f18
Expect a name for connections ( #122 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2022-01-20 12:03:36 +01:00
Keilin Bickar
d0d1e526f5
Add lock entity ( #158 )
2022-01-11 14:29:19 +13:00
dependabot[bot]
014d81350a
Bump mypy from 0.910 to 0.930 ( #156 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Otto winter <otto@otto-winter.com>
2022-01-08 13:57:56 +01:00
david reid
8fcb3a58dd
Catch conn reset ( #159 )
2022-01-05 08:30:22 +13:00
Franck Nijhof
34180576ca
Add device class support to Switch ( #157 )
2021-12-28 23:04:59 +13:00
Jesse Hills
759e2ef133
Add mode to number entities ( #148 )
2021-11-30 22:23:18 +13:00
Jesse Hills
da0ecd8437
Add unit_of_measurement to number components ( #147 )
2021-11-30 20:34:30 +13:00
Jesse Hills
3494f804c1
Button device class ( #146 )
2021-11-30 16:53:22 +13:00
Jesse Hills
dcad9cdcb7
Add support for Button entities ( #143 )
2021-11-29 13:59:23 +13:00
Oxan van Leeuwen
f68fc025a8
Fix mypy errors ( #139 )
2021-11-22 23:08:04 +01:00
Jesse Hills
09d760a3dd
Expose webserver port via native API ( #131 )
2021-10-29 07:03:39 +13:00
Jesse Hills
6bda4e4797
Add EntityCategory ( #130 )
2021-10-27 11:45:09 +13:00
Otto Winter
ca3a14b1bc
Fix connect login 2 ( #128 )
2021-10-21 19:24:03 +02:00
Otto Winter
3b8b2d9d66
Fix login error cleanup ( #126 )
2021-10-21 19:20:05 +02:00
Otto Winter
ccf9fcbe2b
Fix protoc lint uses different version than docker image ( #125 )
2021-10-21 16:53:32 +02:00
Otto Winter
5c37ce907a
Apply float fix for all float attributes ( #124 )
2021-10-21 16:52:29 +02:00
Jesse Hills
e809c10f81
Dont inherit icon for camera entities ( #123 )
2021-10-21 09:08:47 +02:00
Otto Winter
07d16dc1ab
Prevent showing password in error logs ( #121 )
2021-10-14 11:25:51 +02:00
Otto Winter
5bfa90e7c8
Update records in one go ( #119 )
2021-10-13 10:56:29 +02:00
Otto Winter
b3d1f13eeb
Add connect_error callback to ReconnectLogic ( #111 )
2021-10-13 10:46:13 +02:00
Otto Winter
dd9d716c10
Require zeroconf >=0.36 ( #118 )
2021-10-13 10:19:42 +02:00
Otto Winter
f3aaf0391d
Remove eventloop parameter ( #110 )
2021-10-13 10:15:30 +02:00
Otto Winter
9ca228cd1e
Refactor frame_helper into new module ( #109 )
2021-10-13 10:05:08 +02:00
Paul Monigatti
c46d1c3822
Add 'icon' field to Binary Sensor, Climate, Cover, Fan, and Light ( #106 )
...
* Added light icon to API
* Added icon property to Binary Sensor, Climate, Cover, and Fan entities
2021-10-10 10:41:37 +02:00
Otto Winter
06806b4490
Fix wrapping native RequiresEncryption error types ( #113 )
2021-10-05 10:56:35 +02:00
Otto Winter
7a49609ef0
Fix write_packet error not re-raised ( #112 )
2021-10-04 12:30:03 +02:00
Otto Winter
5b99d5c1dd
Refactor connection class to resolve connect issues ( #108 )
2021-10-04 12:12:43 +02:00
Otto Winter
e18d4b61b6
Fix plaintext logs unexpected when handled ( #107 )
2021-10-01 11:25:20 +02:00
dependabot[bot]
4e573999c5
Bump pylint from 2.10.2 to 2.11.1 ( #104 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Otto winter <otto@otto-winter.com>
2021-09-19 19:08:18 +02:00
Martin
ae4137364e
fixes connection isssue#87 ( #105 )
2021-09-17 19:22:20 +02:00
J. Nick Koston
2e22b232fb
Avoid executor jump to resolve ip addresses ( #103 )
2021-09-17 17:44:30 +02:00
Otto Winter
5c9e7acbce
Emit different Exception types to differentiate between connection errors ( #102 )
...
* Emit different Exception types to differentiate between connection errors
* Import in init
2021-09-14 12:44:52 +02:00
Jesse Hills
2350ac78b7
Add support for siren entities ( #97 )
2021-09-09 13:11:51 +12:00
Otto Winter
015e9c8d5e
Add noise API transport support ( #100 )
2021-09-09 09:12:07 +12:00
Otto Winter
8d08689b29
Support for old zeroconfs ( #88 )
2021-09-07 18:52:54 +02:00
Otto Winter
6f131f4bf6
Switch light colormode to be bitfields instead of enums ( #95 )
2021-08-25 13:45:28 +02:00
Otto Winter
a93f22d8f3
Fix log non-utf8 parse error ( #94 )
2021-08-24 11:48:58 +12:00
Otto Winter
738346c9cb
Fix number rounding for protobuf messages ( #93 )
...
* Fix number rounding for protobuf messages
* Switch to converter_field
2021-08-24 11:39:18 +12:00
Jesse Hills
fff495d607
Add new total/total_increasing state-classes for Home Assistant 2021.9+ ( #90 )
2021-08-23 17:02:10 +02:00
Otto Winter
595720ed62
Fix log level enum values ( #89 )
2021-08-16 15:50:35 +12:00
Oxan van Leeuwen
4a091b00a0
Fix old lights with color temperature but no white support ( #86 )
...
ESPHome never supported this, and no built-in lights used this, but apparently it was used by third-party components. Without this fix, those lights would show up as on-off lights in HA. Make them RGBCT lights, which doesn't fit perfectly as they don't expect a white value, but they already got that anyway and it's better than being totally broken.
2021-08-10 10:56:50 +02:00
Jesse Hills
655b99e2cb
Add disabled_default to entity infos ( #85 )
2021-08-03 23:30:51 +12:00
github-actions[bot]
61c87fb1af
Update protobuf files
2021-08-03 03:30:13 +00:00
Oxan van Leeuwen
32d2df8e24
Color mode implementation ( #74 )
...
Co-authored-by: Otto Winter <otto@otto-winter.com>
2021-07-29 19:16:25 +02:00
Jesse Hills
551a1acd0d
Add select entities ( #75 )
2021-07-27 06:51:12 +12:00
Jesse Hills
2ec375af36
Add last_reset_type to sensor entity info ( #70 )
2021-07-21 08:44:55 +12:00
Otto Winter
3a7a47f649
Add pytest unit testing ( #64 )
2021-07-12 20:09:17 +02:00
Otto Winter
33e49a19b5
Fix camera not merging packets ( #63 )
2021-07-09 09:19:39 +02:00
Jesse Hills
1a2c2b69fa
Rename image field to data to match the proto field ( #62 )
2021-07-09 00:00:53 +12:00
Otto Winter
ff10a20bce
Add reconnect logic class ( #54 )
2021-06-30 17:10:30 +02:00
Otto Winter
0ac14489c8
Implement PEP561 typing support ( #55 )
2021-06-30 17:05:44 +02:00
Otto Winter
2629e8d86c
Update host_resolve for zeroconf 0.32.0 ( #52 )
2021-06-30 17:00:22 +02:00
Otto Winter
29b1902577
Dataclasses better legacy UserService compat ( #49 )
2021-06-29 16:07:12 +02:00
github-actions[bot]
bf9e37b73a
Update protobuf files
2021-06-29 13:45:52 +00:00
Otto Winter
acfc46e12a
Add project name+version ( #48 )
2021-06-29 15:45:05 +02:00
Otto Winter
872c643058
Switch from attrs to dataclasses ( #36 )
2021-06-29 15:36:14 +02:00
Jesse Hills
e0f09de715
Add number entities ( #47 )
2021-06-29 22:42:38 +12:00
Otto Winter
86a8ab9130
Fix bad typing for LogLevel ( #45 )
...
* Fix bad typing for LogLevel
* Lint
2021-06-24 09:55:35 +02:00
github-actions[bot]
0ba4ed41ee
Update protobuf files
2021-06-23 21:41:34 +00:00
Otto Winter
b1b36754ec
Climate preset, custom fan mode and custom preset ( #42 )
...
Co-authored-by: Otto Winter <otto@otto-winter.com>
Co-authored-by: Lumpusz <marton.keri@gmail.com>
2021-06-23 23:40:41 +02:00
github-actions[bot]
3e2baa3f14
Update protobuf files
2021-06-18 15:57:48 +00:00
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