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

Add a Caption or Label field for each of the custom entity slots #115

Open
donburch888 opened this issue Jul 26, 2024 · 1 comment
Open

Comments

@donburch888
Copy link

I live about halfway between the Port Kembla and Bellambi Aust. BOM observatories. Bellambi provides more data fields so I have set the primary entities to these; however I would like to also show some of the Port Kembla values.

The platinum weather card does not supply entities for all possible data - and how could it ? The Custom entities are the obvious way around this, however they display only an icon, data value and unit. In this image we see a temperature of 17.2 (custom entity 1), wind of 7 (custom entity 2), and rainfall 0.0mm (todays recorded rainfall) without any description to explain what they represent
image

In this case custom entity 1 = current temperature at Port Kembla, custom entity 2 = wind of 7 km/h at Port Kembla, and rainfall 0.0mm = todays recorded rainfall.

Being able to add (or change) the label would make fields easier to understand. And Todays Recorded Rainfall (plus other issues raised) suggests that maybe it would be good to allow users to change the default values for other labels.
Eg:
:temp icon: Port Kembla 17.2
:wind icon: Port kembla 7 km/h
:rain icon: Todays recorded 0mm

@donburch888
Copy link
Author

I have found
Screenshot from 2024-07-27 17-35-26
which requests entities for "Entity Temp Next Label" and "Entity Temp Following Label" where simple text labels are wanted.

Is the intention that we create dummy template entities, as suggested by alexdelprete at #94 (comment)

template:
  - sensor:
    # these are the text labels for the weather forcast card
    - name: "label for entity_temp_now"
      unique_id: label_entity_temp_now
      state: 'Next low/high'
    - name: "label for entity_temp_following"
      unique_id: label_entity_temp_following
      state: 'Follow low/high'

Is this the method for adding labels to the custom entity fields ? If so, what unique_id values do we need to use ?

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