Skip to content

Fields: Code Cleanup: move non-field functionality to other file #220

Open
@henrygab

Description

@henrygab

Originally posted by @tobi01001 in #216 (comment)

In particular, the following should be moved elsewhere:

  • [] power variable
  • [] brightness variable
  • [] setShowClock() function
  • [] setClockBackgroundFade() function
  • [] setUtcOffsetIndex() function

Consider also making some function templates to further consolidate the functions for get/set of the variables. This should reduce bugs when needing to add new functionality (such as websocket transmissions on value changes), for example.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions