Xaiomi auqara Temperature and Humidity sensor (group view)

Hi.

How du I make my new Temp/Humidity sensor to show up in my Temperature and Humidity group?
In costomize.yaml I entered:

sensor.humidity_158d0001e798bb:
icon: mdi:water-percent
friendly_name: Køkken Humidity

sensor.sensor.temperature_158d0001e798bb:
icon: mdi:thermometer-lines
friendly_name: Køkken Temperature

I think I need to add the xaiomi sensor to sensors under configuration.yaml, but i cant seem to google the result I need :slight_smile:

for mqtt the answer is:

  • platform: mqtt
    name: “Kontor Temp.”
    state_topic: “tele/kontorseng/SENSOR”
    value_template: “{{ (float(value_json.DS18B20.Temperature) - 1.8) }}”
    unit_of_measurement: “°C”

Any one who knows the answer for Xaiomi Temperature and humidity sensor??

Regards

Kenneth Lawrence

Here is how you add them to a group: Group - Home Assistant

You do not have to do that for the xiaomi sensor

Thanks.

The Friendly_name is not changing.

In my customize.yaml file I added:

 sensor.humidity_158d0001e798bb:
   icon: mdi:water-percent
   friendly_name: Kitchen Humidity

 sensor.sensor.temperature_158d0001e798bb:
   icon: mdi:thermometer-lines
   friendly_name: Kitchen Temperature

I did not do customize !include customize.yaml in the configuration.yaml. It seems that nobudy does.

and in my groups.yaml file I added this:(the friendly names dont show up as an entity)

temperatur:
name: Temperatur and Humidity
entities:
- sensor.kontor_temp
- sensor.stue_temp
- sensor.temperature_158d0001e798bb
- sensor.humidity_158d0001e798bb

This is what came out in HA:
temphumidGroup

How do I change the Xaiomi friendly_name?

hi @kalpcc

You need to include reference to customize.yaml in configuration.yaml (there are 2 spaces in front of customize). Anyway, the temp sensor name, if included as posted, is wrong (sensor.sensor…)

customize: !include customize.yaml

If you just want to test, then add the following in configuration.yaml (you can then move customize to separate file/folder to clear out main config file) - need to pay attention to number of spaces before customize (4):

  customize:
    sensor.temperature_158d0001e798bb:
      icon: mdi:thermometer-lines
      friendly_name: Kitchen Temperature 
    sensor.humidity_158d0001e798bb:
      icon: mdi:water-percent
      friendly_name: Kitchen Humidity 

Also, see:

Well, it didnt change the friendly_name

Here is what i wrote:

Text to speech

tts:
platform: google

customize:

sensor.humidity_158d0001e798bb:
  friendly_name: Kitchen Humidity
sensor.temperature_158d0001e798bb:
  friendly_name: Kitchen Temperature 

mqtt:
broker: 127.0.0.1
port: 1883
client_id: home-assistant-1
username: xxxx
password: xxxxxxxx

This is the entities list

And this is the output in HA:
3

spaces look correct:

4

I think your customize should not be indented like that unless it’s a TTS config item.

It should be in line with tts:

eg…

tts:
  platform: google

customize:
  sensor.humidity_158d0001e798bb:
    friendly_name: "Freezer Humidity"
    icon: mdi:water-percent

Ok :slight_smile: Thanks for the help and time!!

I ended up doing it from the HA UI, and it worked :slight_smile:

Here is what i did.

  1. deliting the costomize.yaml file i made. HA makes a new one. (I hade to do a chmod 0777 costumize.yaml afte HA was done making the costumizing,

  2. adding the line to configuration.yaml
    custumize: !include customize.yaml

  3. going to the Configuration UI in HA:
    HA%20UI

  4. making the change and save.

And this is the result:
virker

And this is how the HA build costumize.yaml looks like:

customizeBuild

1 Like