Skip to content

docs: document sensor.tigo_max_power and Panel Power view in pv_production.md#11

Merged
azebro merged 2 commits into
devfrom
copilot/sub-pr-10
Mar 5, 2026
Merged

docs: document sensor.tigo_max_power and Panel Power view in pv_production.md#11
azebro merged 2 commits into
devfrom
copilot/sub-pr-10

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 5, 2026

tigo.yaml defines three template sensors, but pv_production.md only documented two — omitting sensor.tigo_max_power used by the Page 3 "Panel Power" view, leaving setup instructions incomplete.

Changes to dashboards/pv_production.md

  • Prerequisites table — added sensor.tigo_max_power (highest live _power across all 26 panels, in W)
  • Views section — added View 3: Panel Power (/panel-power), describing the live power output display and its green color scale relative to sensor.tigo_max_power
  • Tile Rendering section — added Page 3 color formula block:
    const max = parseFloat(states['sensor.tigo_max_power']?.state) || 1;
    const pct = Math.min(Math.max(val, 0) / max, 1);
    const alpha = pct * 0.7;
    // Green overlay: rgba(0, 220, 50, alpha)
    // Inner glow:    rgba(0, 255, 50, 0.8 * pct)
  • YAML Structure table — added &pwr_tile_landscape and &pwr_tile_portrait anchor entries
  • tigo.yaml code block — added Tigo Max Power sensor; corrected panel count from 24 → 26 throughout

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI mentioned this pull request Mar 5, 2026
Merged
…roduction.md

Co-authored-by: azebro <1090464+azebro@users.noreply.github.com>
Copilot AI changed the title [WIP] WIP Address feedback from review on 'Dev' pull request docs: document sensor.tigo_max_power and Panel Power view in pv_production.md Mar 5, 2026
@azebro azebro marked this pull request as ready for review March 5, 2026 08:14
@azebro azebro merged commit ed3d0bc into dev Mar 5, 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.

2 participants