h4de5 / home-assistant-toshiba_ac

Toshiba AC integration into home-assistant.io
GNU General Public License v3.0
113 stars 17 forks source link

Feature: Implement indoor temperature as sensor #120

Closed taher51 closed 1 year ago

taher51 commented 1 year ago

Thank you for creating this integration. It has been an amazing addition to my smart home.

I want to ask is it possible to extract the indoor temperature and create a sensor of it. Just like the implementation of the outdoor temperature but for the indoor temperature.

juliekoubova commented 1 year ago

You can make a template sensor that will read the current_temperature attribute of the climate entity. See https://www.home-assistant.io/integrations/template/


- sensor:
    - name: Bedroom temperature
      state: {{ state_attr('climate.bedroom_mini_split', 'current_temperature') }}
      unit_of_measurement: "°C"
h4de5 commented 1 year ago

I think that solution is suitable for all use cases.