Commit Graph

105 Commits

Author SHA1 Message Date
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