Skip to content

Conversation

@cayossarian
Copy link
Member

Refactor solar sensor generation to prioritize mapped circuit entity IDs, resolving errors from incorrect entity references.

Previously, solar synthetic sensors incorrectly attempted to reference "unmapped" circuit entities, even when solar was connected to "mapped" circuits. This led to errors where backing entities were not found and formulas failed to evaluate. The updated logic now correctly identifies and uses existing "mapped" circuit entities for solar sensor formulas, falling back to "unmapped" entities only if no mapped circuit is found for the specified tabs.


Open in Cursor Open in Web

Learn more about Cursor Agents

cursoragent and others added 2 commits July 30, 2025 04:01
Co-authored-by: scrap-bursary.0r <scrap-bursary.0r@icloud.com>
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.

3 participants