Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvement: Store items in an array #2

Open
juanjoSanz opened this issue Jan 18, 2019 · 0 comments
Open

Improvement: Store items in an array #2

juanjoSanz opened this issue Jan 18, 2019 · 0 comments

Comments

@juanjoSanz
Copy link
Owner

Group elements in an array, for example,

instead of having:

sensor.wibeee_phase1_active_energy
sensor.wibeee_phase2_active_energy
sensor.wibeee_phase3_active_energy
sensor.wibeee_phase4_active_energy

Create an array:

sensor.wibeee_active_energy = [phase1, phase2, phase3, total]

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

No branches or pull requests

1 participant