There was a bug in prior versions. If you update to 0.37.1 You should get a CCU entity, which has all the variables as itās attributes. Thatās a little bit different from the documentation, because before we noticed this wasnāt working it was implemented differently.
Whatās missing from the documentation as well is, that when you use a CCU (so not Homegear), youāll also have to specify the API password of the CCU. Otherwise the CCU rejects the requests HASS is making to check out the variables.
I will update the documentation soon. Until then try out the latest version and have a look at the homematic.set_var_value service (which is used to set bool and numeric variables on the CCU).
The variables are, opposed to what it says in the documentation, NOT displayed as single entities. Somewhere in the frontend you should see one single entity named āwirelessā. if you click on that, the element will open and you should see the entities as the attributes.
To use them in automations you have to use templates. I will update the documentation on the weekend and include an example.
You can experiment with templates in the HASS UI. On the lower left there are 5 buttons. The second one from the right (the two angle brackets on grey background) takes you to an interactive template editor. Thereās a textarea with some demo-code in it. and the result is shown on the right. There you can paste in the template from one of my examples above, and on the right the result should be displayed. So for example:
Shows True as a result on the right side, which tells me that the battery of the shutter contact is ok. For logic reasons and possible unkonwn states while HASS is starting, Iāve used == "Low" in my sensor-example above. That would create a binary_sensor entity, which is always in off state for as long as the value of the attribute is not High.
An alternative way of doing what Iāve done in the sensor example:
I want to display a homematic variable. For a example var1. The value of var1 can be Ja or Nein. My Question is how can i display the value (Ja or Nein) from var1 in the HA GUI?
The tip wth the interactive template editor is very good.
In my case I have configured the host for wireless devices to have the name āhmrfā. And as you see in the screenshot I have a variable called āTestvariableā.
The template I use looks like this: {{ states.homematic.hmrf.attributes.Testvariable }}
If I paste that code into the template editor, False is displayed on the right side, just like in the CCU entity.
In your case Iām not sure if you really have a boolean variable. On my CCU the variable is defined like this:
But youāre saving your variable is either āJaā or āNeinā, which indicates that youāre using something different. Although that shouldnāt matter. In that case you would just adjust the template to test something like {{ ...blabla == "Ja" }} or so.
Have a look at your error logs (of HASS). You probably havenāt configured the homematic compoent correctly. As no variables are shown in the entity, it fails to load them.
Actually no, I donāt know what the problem is in that case. Have a look at the log or test your configuration using the check_config script. Maybe this will give you a hint what the error could be. I would guess itās a syntactical problem, but I canāt tell without seeing the proper indentation. You can post formatted text here in code-blocks. Start and end a code-block with 3 backticks (Grave accent). Like this, but with the correct character (other direction):