8000
Skip to content

Conversation

@s-hadinger
Copy link
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
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

0