Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Inconsistent emeter information between features and emeter cli #1308

Copy link
Copy link
@rytilahti

Description

@rytilahti
Issue body actions

Emeter uses different code path for the cli and for features, causing missing information such as the voltage and the current introduced in #1281.

$ kasa --host foo emeter
== Energy ==
Current: None A
Voltage: None V
Power: 2.727 W
Total consumption: 0.063 kWh
Today: 0.063 kWh
This month: 1.795 kWh

vs.

$ kasa --host foo
== Primary features ==
State (state): True
Current consumption (current_consumption): 2.8 W
Voltage (voltage): 230.8 V
Current (current): 0.04 A
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.