IFTTT request DHT11 temperature and humidity with Google Assistant

it’s no longer working. the type configuration option had to be removed. you have to create a generic thermostat now to expose the temperature.

climate:
  - platform: generic_thermostat
    name: Living Room Heater
    heater: input_boolean.fake_heater
    target_sensor: sensor.living_room_temperature
    initial_operation_mode: "off"
    target_temp: 21

input_boolean:
  fake_heater:
    name: Fake Heater
    icon: mdi:toggle-switch-off
    initial: off
google_assistant:
  project_id: !secret ga_project_id
  client_id: !secret ga_client_id
  access_token: !secret ga_access_token
  api_key: !secret ga_api_key
  expose_by_default: false
  entity_config:
    climate.living_room_heater:
      expose: true
      name: Thermostat
2 Likes

Great! Works like a charm!

Thanks a million!

By thw way, is there any way to get Google Assistant to just reply “The temperature in the living room is XX degrees”.

Right now it says “The temperature in the living room is 26 degress and the device is off”.

Thanks

Unfortunately not. Assistant is a little chatty here…

Ok, thanks. Still good enough :slight_smile:

This works great for the temperature reading but do you have a solution for the humidity reading?

Google currently does not support humidity readings in any of its smart home device types.

Great post! Helped me to get the temp sensors to GH/GA