-
Notifications
You must be signed in to change notification settings - Fork 303
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
How and where to define a certain value template for a certain sensor #457
Comments
For anyone getting here (including a future me) - a possible workaround is to send the configuration The above mentioned configuration would look like
|
I have the same issue. I would like to set the min max and step somewhere. I even did not understood where the actual values for min, max and step are taken from. It would not make sense to take it form the datatype. It would be great if it could be set in the csv for each value. |
@cyberthom42 You cann't set any definition in HA for Autodiscovery entities. Only way is like @Connor0308 did or change
|
@Koky05 : Great! To understand you correct - by defining the corresponding sensors via the config/ mqtt.yaml like this, I can leave the retained messages approach aside? Regards Connor |
@Connor0308 you still need retained message not to loose last received information from eBUSd. This approuche just define preciously type of value and sensor. |
This looks good to me. At the moment, I am not retaining the last values, but the configuration topic. Thank you! |
Dear,
after having tweaked my configuration back and forth, it seems that I now have quite a good starting point for my project.
However, one thing that still worries me is a simple value template correction.
Using this configuration line
r;w,,OffsetOutsideTemp,,,,,2D00,,,D2C,,K,Offset outside temperature (used to determined DisplayedOutsideTemp)
I wanted to make the offset for the temperature sensor writable.
This is how the the sensor is appearing in the MQTT explorer.
While I can generally live with the strange min and max values, the a step of 0.06 is not favorable.
How can I fix this permanently - and not updating it with every restart?
Thank you!
Regards
Connor
The text was updated successfully, but these errors were encountered: