[APP][Pro] Better Logic Library - Just some better logic, variable and library management

Hey @Pieter_Pessers ,

What you can do, is use an Advanced Virtual Device from the Device Capabilities app.
I am in contact about adding BLL variables to Sharptools with @joshua, but in the meantime, i have done this:

I have created an Container AVD with one field:
image

image

BLL expression: !$value.trim() ? '' : 'Morgen: ' + $value

This can be added in the Sharptools, where i created a custom Super Tile:
image

In the bottom field, the text from the AVD is shown.

Next, in the dashboard, where the tile is used, i have configured some colors based on the values:
image

The result, based on a BLL variable is this:
image

image

image

image

I have also added a Button on the AVD:
image

In Sharptools i have setup a rule for this:

When i click on the trash-bin in Sharptools, the Button on the AVD is pushed and in a flow, when that button is pushed, it will clear out the BLL Variable (turning of my Homey light and also the Sharptools tile will reset, meaning i have put out the trash).

So, yeah, using BLL variables is possible already without flows, you just need an AVD :wink:

1 Like