maybe this can be used by you as an example. Or copy Homey Dash or Homey.ink and change it to fit it to your wishes.