We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug:
Wrong current month peaks indexing. Current month peaks show incorrect values, peak 3 always "unknown".
Screenshots:
Hardware information:
Relevant firmware information:
Additional context:
Debug log:
name: Current month peak 3 state_topic: amsleser/realtime unique_id: ams-xxxx_peaks3 object_id: ams-xxxx_peaks3 unit_of_measurement: kWh value_template: '{{ value_json.peaks[3] | is_defined }}' device: identifiers: - ams-xxxx name: AMS reader model: Pow-K+ sw_version: v2.2.21 manufacturer: amsleser.no configuration_url: http://ams-xxxx.local/ device_class: energy platform: mqtt
Received 15:43:32 QoS: 0 Payload: max: 3 peaks: - 3.57 - 2.45 - 3.06 threshold: 5 hour: use: 1.38 cost: 0 produced: 0 income: 0 day: use: 21.9 cost: 0 produced: 0 income: 0 month: use: 63.5 cost: 0 produced: 0 income:
Looks like the indexing is incorrect and peaks should have following indexes:
value_json.peaks[0] value_json.peaks[1] value_json.peaks[2]
not
value_json.peaks[1] value_json.peaks[2] value_json.peaks[3]
Issue has been also raised up on amshan-homeassistant GitHub: #65.
The text was updated successfully, but these errors were encountered:
Nice catch, thanks!
Sorry, something went wrong.
Final testing of this feature in issue #641
gskjold
No branches or pull requests
Describe the bug:
Wrong current month peaks indexing. Current month peaks show incorrect values, peak 3 always "unknown".
Screenshots:
Hardware information:
Relevant firmware information:
Additional context:
Debug log:
Looks like the indexing is incorrect and peaks should have following indexes:
not
Issue has been also raised up on amshan-homeassistant GitHub: #65.
The text was updated successfully, but these errors were encountered: