[hub75] add set_rotation and get_rotation methods (#13921)

Co-authored-by: J. Nick Koston <nick@home-assistant.io>
This commit is contained in:
TJ Horner
2026-10-10 17:52:24 -10:00
committed by GitHub
co-authored by J. Nick Koston
parent 6bc19d2a1a
commit 254690100c
5 changed files with 55 additions and 7 deletions
@@ -37,3 +37,10 @@ display:
}
<<: !include common.yaml
script:
- id: rotate_hub75
then:
- lambda: |-
id(my_hub75).set_rotation(display::DISPLAY_ROTATION_180_DEGREES);
ESP_LOGD("test", "rotation now %d", static_cast<int>(id(my_hub75).get_rotation()));