#Have a preexisting entity as a gauge maximum?

1 messages · Page 1 of 1 (latest)

torn heart
#

I'm trying to set the maximum for a dashboard gauge as an already existing entity. However I can only input a numerical value. How do I set the maximum as an entity?

signal aurora
torn heart
#

Is any yaml code needed? If so can you give me the code please?

torn heart
#

@signal aurora do you have the yaml code?

signal aurora
#

I haven't really used it, but I think it's something like:

type: 'custom:card-templater'
card:
  type: gauge
  entity: whatever
  max_template: '{{ states("whatever max") | float}}'```