home-assistant / home-assistant.io

:blue_book: Home Assistant User documentation
https://www.home-assistant.io
Other
4.9k stars 7.25k forks source link

Pool Temperature Variable Exposure #26242

Closed gnvdude closed 1 year ago

gnvdude commented 1 year ago

Feedback

first of all love this integration

this there a way to extract and expose the 'current pool temperature' as an element in home assistant from the climate entitiy?

I mean it shows but I can't pull it separately to display or do any automation off this element

Thanks in advance

image

image

URL

https://www.home-assistant.io/integrations/screenlogic/

Version

2023.2.4

Additional information

No response

home-assistant[bot] commented 1 year ago

Hey there @dieselrabbit, @bdraco, mind taking a look at this feedback as it has been labeled with an integration (screenlogic) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `screenlogic` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Change the title of the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign screenlogic` Removes the current integration label and assignees on the issue, add the integration domain after the command.
dieselrabbit commented 1 year ago

You can create a template sensor to reference the current_temperature attribute on the climate entity.

template:
  - sensor:
      - name: "Pool Temperature"
        state: '{{ state_attr("climate.pentair_16_51_d0_pool_heat", "current_temperature") }}'
        unit_of_measurement: '°F'
        device_class: temperature
        state_class: measurement
dieselrabbit commented 1 year ago

I've taken this as far as it will go.

dieselrabbit commented 1 year ago

@home-assistant close