savdagod / TidbytAssistant

Send custom apps, notifications or plain text to a Tidbyt device from HomeAssistant!
MIT License
33 stars 2 forks source link

Card to Type text to Send to TIDBYT #3

Closed roomonthethird closed 2 months ago

roomonthethird commented 2 months ago

Hello!

Made a quick card that allows you to send any text to the TIDBYT using notify-card:

type: custom:notify-card
label: Enter text
card_title: Send a Message!
notification_title: null
action: tidbytassistant.text
data:
  message: $MSG
  font: tb-8
  color: '#fff'
  content: $MSG
  texttype: scrolling
  devicename: your device name

I'm still new to HA, so if anyone knows how to make it so there are drop downs for selecting text, color and type, that would be sick!

savdagod commented 2 months ago

This is not an issue related to this integration but I’ll help you out. You have to create input_select helpers for each field, and enter all the possible inputs for said field. So if you name your input_select for font input_select.tidbyt_font you do this in the yaml:

font: “{{states(‘input_select.tidbyt_font’)}}”

Then put those helpers on your dashboard. There should be a card for it.

roomonthethird commented 2 months ago

Sounds good! Meant to post as an enhancement not an issue. Sorry! Thanks for the help.

On Sun, Sep 15, 2024 at 6:51 PM Bruce @.***> wrote:

This is not an issue related to this integration but I’ll help you out. You have to create input_select helpers for each field, and enter all the possible inputs for said field. So if you name your input_select for font input_select.tidbyt_font you do this in the yaml:

font: “{{states(‘input_select.tidbyt_font’)}}”

Then put those helpers on your dashboard. There should be a card for it.

— Reply to this email directly, view it on GitHub https://github.com/savdagod/TidbytAssistant/issues/3#issuecomment-2351820556, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4JVAERM4MMC27S2QKJXOQ3ZWYFNZAVCNFSM6AAAAABOHX6QLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJRHAZDANJVGY . You are receiving this because you authored the thread.Message ID: @.***>