Skip to content

Berry 'light.get()' direct access to values#24033

Merged
s-hadinger merged 1 commit into
arendst:developmentfrom
s-hadinger:berry_light_get_by_value
Oct 20, 2025
Merged

Berry 'light.get()' direct access to values#24033
s-hadinger merged 1 commit into
arendst:developmentfrom
s-hadinger:berry_light_get_by_value

Conversation

@s-hadinger
Copy link
Copy Markdown
Collaborator

Description:

Berry light.get() direct access to values. You can now pass a second string argument to get a specific value and avoid the creation of a map instance

# using map as before
light.get()['bri']

# direct access
light.get(0, 'bri')

Checklist:

  • The pull request is done against the latest development branch
  • Only relevant files were touched
  • Only one feature/fix was added per PR and the code change compiles without warnings
  • The code change is tested and works with Tasmota core ESP8266 V.2.7.8
  • The code change is tested and works with Tasmota core ESP32 V.3.1.4
  • I accept the CLA.

NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass

@s-hadinger s-hadinger merged commit 7c7b390 into arendst:development Oct 20, 2025
64 checks passed
echo-bravo-yahoo pushed a commit to echo-bravo-yahoo/Tasmota that referenced this pull request Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant