Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formatting attributes? #161

Open
proffalken opened this issue Nov 16, 2023 · 0 comments
Open

Formatting attributes? #161

proffalken opened this issue Nov 16, 2023 · 0 comments

Comments

@proffalken
Copy link

Hey folks,

I'm hoping I can somehow format the attribute of one of my sensors into something like 3 hours from now or 5pm tonight

My config is as follows:

type: custom:banner-card
heading:
  - mdi:home
  - Home
entities:
  - entity: device_tracker.me
    name: Me
  - entity: device_tracker.my_wife
    name: My Wife
  - entity: device_tracker.kid_no_1
    name: Kid No. 1
  - entity: device_tracker.kid_no_2
    name: Kid No. 2
    value: School
  - type: custom:simple-weather-card
    entity: weather.home_2
  - entity: binary_sensor.octopus_energy_saving_session
    attribute: next_joined_event_start
    name: Next Energy Saving Session
    size: 4
row_size: 4

Any ideas what I can use here?

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant