Edward Firmo
869cdf122d
Nextion draw QR code at runtime ( #6027 )
2024-01-09 09:47:48 +09:00
Edward Firmo
2bb5343d27
Extends UART change at runtime to ESP8266 ( #6019 )
2024-01-09 09:45:46 +09:00
Robert Paskowitz
e3d146ee44
Support full (>460 char) dumps of Pronto IR commands ( #6040 )
...
Co-authored-by: Rob Paskowitz <rob@paskowitz.ca>
2024-01-09 09:44:08 +09:00
Edward Firmo
6061699eff
Nextion enable upload from https when using esp-idf ( #6051 )
2024-01-09 09:41:34 +09:00
dependabot[bot]
886d1a2d00
Bump flake8 from 6.1.0 to 7.0.0 ( #6058 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-09 09:38:50 +09:00
functionpointer
9bdb9dc1a3
pylontech: fix voltage_low and voltage_high wrong unit ( #6060 )
...
Co-authored-by: だから <82636574+Dackara@users.noreply.github.com>
2024-01-09 08:30:37 +09:00
functionpointer
696bfe6a87
pylontech: Fix parsing error with US2000 ( #6061 )
2024-01-09 08:26:13 +09:00
Ruben van Dijk
14bffaf8a7
Add questionmark to default glyphs. ( #6053 )
2024-01-09 08:12:28 +09:00
tomaszduda23
4202fe65b5
fix compilation error for libretiny ( #6064 )
2024-01-09 08:05:52 +09:00
Michael Davidson
e44962c49f
Merge branch 'dev' into add-graphical-layout-system
2024-01-08 22:16:42 +11:00
Michael Davidson
17659e9783
Add support for time based Text Panel and Text Run Panels
...
Easy way to print times and dates in different formats
2024-01-08 21:45:24 +11:00
Samuel Sieb
fdd54d74a3
Don't crash with invalid adc pin ( #6059 )
...
* Don't crash with invalid adc pin
* lint
2024-01-07 21:39:53 -06:00
Michael Davidson
ff4c918ceb
Autoload sensor and text_sensor
2024-01-07 15:00:56 +11:00
Michael Davidson
87e98e0e13
Clang-tidy fixes
2024-01-06 12:47:58 +11:00
Michael Davidson
00169c7633
Clang-format fixes
2024-01-06 12:11:27 +11:00
Michael Davidson
ee77485a2d
Apply clang-tidy fixes
2024-01-06 12:01:03 +11:00
Michael Davidson
65825516d4
Apply ci-custom and clang-format fixes
2024-01-06 11:40:36 +11:00
Michael Davidson
b49453ef7e
Rework text splitting and layout algorithm to be easier to read and work on
...
Fixes an bug where text would sometimes overflow the x axis in some cases
2024-01-06 11:31:07 +11:00
Michael Davidson
c9ec0a11c7
ci-custom fix
2024-01-04 18:02:44 +11:00
Michael Davidson
f75c6b95b8
Add allow_other_uses for GPIO05
2024-01-04 17:35:06 +11:00
Michael Davidson
b3e0c87d2b
Allow pin reuse in test1.1 to fix test errors
2024-01-04 17:04:52 +11:00
Michael Davidson
f68de25206
Remove allow_other_uses
2024-01-04 00:03:38 +11:00
Michael Davidson
474a00dd81
Change pin number
2024-01-04 00:00:04 +11:00
Michael Davidson
31c8a3d1ac
Change pin in test1.1 to avoid redefinition
2024-01-03 23:55:31 +11:00
Michael Davidson
8d30180518
Add colour definitions to test1.1
2024-01-03 23:52:51 +11:00
Michael Davidson
6a97b6cad7
Include Roboto font in test1.1
2024-01-03 23:49:45 +11:00
Michael Davidson
279c879f63
Include SPI for test1.1
2024-01-03 23:47:01 +11:00
Michael Davidson
1f7554ea1c
Move graphical_layout test to test1.1 in an attempt to avoid "segment data does not fit" issues
2024-01-03 23:39:00 +11:00
Michael Davidson
d7b512fc93
Fix clang-tidy issues
2024-01-03 23:36:18 +11:00
Michael Davidson
2b76450163
clang-format fixes
2024-01-03 17:08:35 +11:00
Michael Davidson
4dce318e6d
Merge branch 'add-graphical-layout-system' of github.com:MrMDavidson/esphome into add-graphical-layout-system
2024-01-03 17:01:58 +11:00
Michael Davidson
4d6ff150a9
Merge branch 'dev' into add-graphical-layout-system
2024-01-03 17:01:15 +11:00
Michael Davidson
a083240e12
Apply clang-tidy fixes
2024-01-03 17:01:02 +11:00
Clyde Stubbs
a2e152ad12
clang-format and clang-tidy scripts: More robust algorithm to find correct executable ( #6041 )
...
* More robust algorithm to find correct executable
* Revise message wording
* Add clang-tidy and clang-format to requirements.txt.
Add to message explaining install process.
* Extracted get_binary to helpers.py. Use execptions for clean exit.
* Add parameter types
* clang-{tidy,format} in requirements_test.txt
clean up script exit
* Kill processes on ^C
* Move clang-tidy and clang-format into requirements_dev.txt
2024-01-02 23:00:52 -06:00
Michael Davidson
a6f77271a4
Clang-format fixes
2024-01-03 12:51:37 +11:00
Michael Davidson
130ce44c51
Apply build fixes, black, flake8, pylint, and ci-custom recommendation
2024-01-03 12:48:28 +11:00
Michael Davidson
0403562e3a
Merge branch 'add-graphical-layout-system' of github.com:MrMDavidson/esphome into add-graphical-layout-system
2024-01-02 17:41:08 +11:00
Michael Davidson
4c1f4bbf78
Merge branch 'dev' into add-graphical-layout-system
2024-01-02 17:40:48 +11:00
Michael Davidson
395d1d10a4
Merge branch 'add-graphical-layout-system' of github.com:MrMDavidson/esphome into add-graphical-layout-system
2024-01-02 17:38:02 +11:00
Michael Davidson
c5ed675be5
Add support for Text Run Panel grabbing run text from a Sensor or Text Sensor
2024-01-02 17:37:36 +11:00
Michael Davidson
4e37a09310
Add support for TextPanels grabbing their content from Sensors and TextSensors
2024-01-02 17:32:41 +11:00
Clyde Stubbs
ae52164d9c
Display: Introduce draw_pixels_at()
method for fast block display rendering ( #6034 )
...
* Introduce `draw_pixels_at()` method for fast block display rendering
* Add check for 18 vs 16 bit display.
2024-01-01 17:34:40 -06:00
Michael Davidson
29ebc9dc18
Merge branch 'dev' into add-graphical-layout-system
2024-01-01 16:12:36 +11:00
Michael Davidson
c018ba2ac3
Change to less-than-or-equal checks when laying out items
...
Previously this would cause the actual rendering of item to want different bounds as the longest line would reflow as it was equal to the bounds
2024-01-01 12:35:21 +11:00
Michael Davidson
c72e789be9
Additional clang-format fixes
2024-01-01 10:37:55 +11:00
Michael Davidson
5f5c35e779
ci-custom and clang-format fixes
2024-01-01 10:34:30 +11:00
Michael Davidson
b18e217313
Make margin, borders, and padding individually settable (top vs left vs bottom vs right)
...
Can still take an int to set all the properties equally
2024-01-01 10:23:17 +11:00
Clyde Stubbs
773cd0f414
GT911 touchscreen: Fix bug causing touch button release to fail ( #6042 )
...
* Fix bug causing gt911 touch button release to fail
* Cache button state and report changes only
2023-12-31 04:01:16 -06:00
Michael Davidson
feef234ddd
Add can_wrap_at_character - allows for overriding how lines are wrapped
...
This can be used if the default characters do not work for a user or to support languages other than English
2023-12-31 13:03:26 +11:00
Michael Davidson
046065b307
Use local defintions of COLOR_ON / COLOR_OFF
2023-12-31 12:41:37 +11:00