jens-maus / RaspberryMatic

:house: A feature-rich but lightweight, buildroot-based Linux operating system alternative for your CloudFree CCU3/ELV-Charly 'homematicIP CCU' IoT smarthome central. Running as a pure virtual appliance (ProxmoxVE, Home Assistant, LXC, Docker/OCI, Kubernetes/K8s, etc.) or on a dedicated embedded device (RaspberryPi, Tinkerboard, IntelNUC, etc.)
https://raspberrymatic.de
Apache License 2.0
1.5k stars 184 forks source link

Web UI fix missing units psm2 #2754

Closed PhilippEngler closed 1 month ago

PhilippEngler commented 1 month ago

Description

This PR will add the units (W) and the correct minimum and maximum values to the power threshold, lower threshold and higher threshold textboxes in the channel 7 for HmIP-PSM-2 and HmIP-PSM-2 QHJ devices.

Related Issue

This should solve #2746.

Types of changes

Alternate Designs

Possible Drawbacks

There might be a problem with the values. It could be that they require conversion (see #2746). During my tests, there was no need for conversion.

Verification Process

I have used the lower and higher values to values around the current power consumption. I have not run in any problems.

Release Notes

Contributing checklist

PhilippEngler commented 1 month ago

@jens-maus: thank you and please excuse my mistake. I will be more careful next time.

jens-maus commented 1 month ago

No problem. The procedure how to create a proper WebUI patch is unfortunately quite cumbersome and also undocumented...