New Netatmo climate component supporting multiple thermostats/valves

The two files (climate.py, init.py) have to be in the directory

custom_components/netatmo

Ok that in place - but whats in the climate folder then. I why am I getting a ThermostatData:-error

The climate folder has to be deleted.

Well still not working

This is my Log-entries:

And this is my Overview:

How does your config look like?

Please try to add the following lines in your configuration.yaml and restart HA. After restarting, please find the DEBUG messages in your log files and send to me by PM (or post here after removing privacy information).

logger:
  logs:
    custom_components.netatmo: debug
    custom_components.climate.netatmo: debug

h4nc is correct, we need your configuration information to diagnose the issue.

hello, what is the card to add this custom components in ui-lovelace.yaml?

  • id: 0
    title: Temperatura
    icon: mdi:thermometer-lines
    cards:
    - type: thermostat
    entities:
    - custom_components.netatmo

configuration.yaml also, please.

Can you find a entity with this name in your HA? Mine is like:

- entity: climate.netatmo_bedroom
  type: thermostat
configuration.yaml

climate:
  platform: netatmo
  home: Casa Matteo
  rooms:
    - Cucina
    - Camera da letto
    - Cameretta
    - Salone

This is an outdated configuration format, as indicated in New Netatmo climate component supporting multiple thermostats/valves, you should use:

climate:
  platform: netatmo
  homes:
    - name: Casa Matteo
      rooms:
        - Cucina
        - Salone

The other two rooms also have thermostat/valve? Or just cameras? If no thermostat or valve, you should not include them.

all the rooms have valve

@matteos1 if you post code please use the correct format in future, as this makes it better readable.

You can try it at one of your posts above.

  1. Click Edit.
  2. Mark your code
  3. Click the symbol </>
  4. Save and you are done.

Thanks

all done for formatting post

I’m very grateful that you will help. I will post the information as soon as I get back from a business trip later this week.

[quote=“matteos1, post:57, topic:91860, full:true”]
configuration.yaml
climate:
platform: netatmo
homes:
- name: Casa Matteo
rooms:
- Cucina
- Camera da letto
- Cameretta
- Salone

and with:

ui-lovelace.yaml

id: 0
title: Temperatura
icon: mdi:thermometer-lines
cards:
- type: thermostat
entity:
- climate.netatmo_Cucina
- climate.netatmo_Camera da letto
- climate.netatmo_Cameretta
- climate.netatmo_Salone

but give this error
entity not found

here the configuration

Cattura

This is not a valid entity name.

what is the correct entity name of thermostat?

entities do not have spaces.
Look in the devtools for the right entity name and copy it in your config.

Probably you will have to replace the spaces by underlines _ .
But better have a look in the devtools for the right entity name.

Have a look in the dev tools section. image