Skip to content

Error in pyscript causing solis control to fail #34

@abandyb

Description

@abandyb

from Home Assistant, when sending command to export:

Logger: custom_components.pyscript.file.solis_control.solis_control
Source: custom_components/pyscript/eval.py:511
integration: Pyscript Python scripting (documentation, issues)
First occurred: 16:28:10 (1 occurrences)
Last logged: 16:28:10

Exception in <file.solis_control.solis_control> line 98: inverterList = response.json() ^ AttributeError: '_BaseRequestContextManager' object has no attribute 'json'

It is worth noting that I had an update (to 1.6.2) in HA this morning for pyscript

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions