question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Measurement: Allow POWER_METER_ENTITY_ID to be preconfigured

See original GitHub issue

HassPowerMeter.get_questions asks for:

inquirer.List(
                name="powermeter_entity_id",
                message="Select the powermeter",
                choices=power_sensor_list
            )

Being able to (optionally) preconfigure that would make resuming testing easier; in the event of interruption.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
CloCkWeRXcommented, Jul 23, 2022

Ah! facepalm Thanks

1reaction
bramstrokercommented, Jul 23, 2022

Here is the related code. https://github.com/bramstroker/homeassistant-powercalc/blob/master/utils/measure/measure.py#L550. It tries to match the question id by convention to the env vars. By uppercasing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Levels of Measurement
The nominal and ordinal levels are considered categorical measures while the interval and ratio ... Let us turn to each of the four...
Read more >
4 Levels of Measurement: Nominal, Ordinal, Interval & Ratio
Levels of measurement describe how precisely the variables within a dataset have been measured. Learn more in this guide, with examples.
Read more >
Levels of Measurement - Online Statistics Book
Unlike nominal scales, ordinal scales allow comparisons of the degree to which two subjects possess the dependent variable. For example, our satisfaction ...
Read more >
Levels of Measurement: Nominal, Ordinal, Interval and Ratio
You can describe the varying degree of complexity using levels of measurement, which help you categorize data by how you can analyze it....
Read more >
Measurement features in Photoshop - Adobe Support
In Adobe Photoshop, learn how to use Measurement features to measure any area defined with the Ruler tool or with a selection tool....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found