Git Product home page Git Product logo

Comments (3)

ianschmitz avatar ianschmitz commented on September 13, 2024 5

FWIW i followed the instructions here https://www.home-assistant.io/integrations/template/ along with the suggestion from @smith113311 and came up with:

template:
  - sensor:
    - unique_id: "heat_pump_north_outdoor_temp"
      name: "Outdoor Temperature North"
      unit_of_measurement: "°C"
      state: "{{ state_attr('climate.midea_ac_30786325801344', 'outdoor_temperature' )}}"
      icon: mdi:thermometer

where climate.midea_ac_xxx is the id of the indoor unit as shown in the Developer Tools -> States page in HASS.

from midea-ac-py.

sklein972 avatar sklein972 commented on September 13, 2024

+1

from midea-ac-py.

smith113311 avatar smith113311 commented on September 13, 2024

Try creating this sensor in config.yaml (polling every 5 hours):

sensor:
  - platform: template
    sensors:
      outdoor_temperature:
        friendly_name: "Outdoor Temperature"
        unit_of_measurement: "°C"
        value_template: "{{ state_attr('climate.inventor_ac_00000000000d', 'outdoor_temperature' )}}"
        icon_template: mdi:thermometer

from midea-ac-py.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.