Skip to content

Device parameters do not refresh #4

@PJanisio

Description

@PJanisio

Hi,

Some of sonoff devices has additional parameters, like mine: voltage, power, current.
These are not being refreshed during getting device and checking parameters.

office_socket = client.get_device('100142b205')
    device_name_office = (office_socket.name)
    office_socket_power = (office_socket.params.power)
    office_socket_voltage = (office_socket.params.voltage)

I think its not a issue with the code, because in the ewelink app or ewelink-web it also do not refresh very often (in ewelink web you can forcely refresh the data). So in this case its a feature request, if possible to update the parameters every time connecting the device.

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