Skip to content
New issue

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

Kolanky Charging Time unit should be h and not min #2675

Open
2 of 4 tasks
layanto opened this issue Dec 21, 2024 · 0 comments
Open
2 of 4 tasks

Kolanky Charging Time unit should be h and not min #2675

layanto opened this issue Dec 21, 2024 · 0 comments
Labels
device improvement Improvement to an existing device config

Comments

@layanto
Copy link

layanto commented Dec 21, 2024

Description

kolanky_evcharger.yml unit for Charging Time should be h and not min

Current:

  - entity: sensor
    name: Charging time
    class: duration
    dps:
      - id: 120
        type: integer
        optional: true
        name: sensor
        unit: min
        mapping:
          - scale: 10

New:

  - entity: sensor
    name: Charging time
    class: duration
    dps:
      - id: 120
        type: integer
        optional: true
        name: sensor
        unit: h
        mapping:
          - scale: 10

Steps to reproduce

Either start charging and watch Charging Time count up or set Delay Start (in hours) and watch Charging Time count down. Either way, display on Home Assistant is incorrect where h is shown as min and min is shown as sec.

Expected behaviour

No response

Additional context

No response

Confirmation

  • I am sure this is a bug or improvement, that is well enough described that it can be implemented.

  • If this is for a specific device, the device config is mentioned above, or diagnostics are included.

  • Log messages or diagnostics relevant to the issue are included.

  • This is not requesting addition of a new device.

@layanto layanto added the bug Something isn't working label Dec 21, 2024
@make-all make-all moved this to 🔖 Ready in Tuya Local Dec 21, 2024
@make-all make-all added device improvement Improvement to an existing device config and removed bug Something isn't working labels Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
device improvement Improvement to an existing device config
Projects
Status: 🔖 Ready
Development

No branches or pull requests

2 participants