I wonder how I can combine a template widget and a standard button to a widget which is supposed to let me move to another dashboard. After reading a pile of posts, I ended up with a not working template which tries to “inherit” the button behaviour:
<div ng-init='foo = {"type": "button",
"action_type": "navigate",
"navigate_dashboard": "Luft Innen"}'/>
<widget-button class="btn btn-lg" style="width: 100%; height: 100%"
ng-model="foo"/>
<div class="row">
<div class="col-xs-6"><span><widget-icon iconset="'smarthome-set'" icon="'temperature'" /></span>Temperature</div>
</div>
<div class="row">
<div class="col-xs-6"><span style="font-size: 28pt">{{itemValue('homematic_HmIP_STHD_ccu3_000E9569A5296E_1_ACTUAL_TEMPERATURE')}}°C</span></div>
</div>
What’s wrong? I would like to have the template look like the button widget: no shadow or frame rendered when pressing, just button background color becomes brighter.