I've checked #3 and realized that the attributes format differs from setup to setup aswell.
In my case, its a proper object which can be merged with the other attributes such as friendly_name and unit_of_measurement.
In the case of a setup within #3, it is a list of objects which contains the necessary data.
Sadly, the raw.value data contains weird integer value for Temperature_Celsius in the example within #3 so I decided to use regex to extract the temperature from raw.string instead.
Hopefully, this will work for most of the addon users now. :-)
When releasing (merging) this, you might want to change the version within config.json and change TBD within CHANGELOG.md to the current date 👍
Hey there,
I've checked #3 and realized that the attributes format differs from setup to setup aswell. In my case, its a proper
object
which can be merged with the other attributes such asfriendly_name
andunit_of_measurement
. In the case of a setup within #3, it is alist
of objects which contains the necessary data.Sadly, the
raw.value
data contains weird integer value forTemperature_Celsius
in the example within #3 so I decided to use regex to extract the temperature fromraw.string
instead.Hopefully, this will work for most of the addon users now. :-)
When releasing (merging) this, you might want to change the
version
withinconfig.json
and changeTBD
withinCHANGELOG.md
to the current date 👍Thanks for all!