New Netatmo climate component supporting multiple thermostats/valves


#42

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

custom_components/netatmo


#44

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


#45

The climate folder has to be deleted.


#46

Well still not working

This is my Log-entries:

And this is my Overview:


#47

How does your config look like?


#48

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.


#49

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

#50

configuration.yaml also, please.


#51

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

- entity: climate.netatmo_bedroom
  type: thermostat

#52
configuration.yaml

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

#53

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.


#54

all the rooms have valve


#55

@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


#56

all done for formatting post


#58

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.


#59

[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


#60

This is not a valid entity name.


#62

what is the correct entity name of thermostat?


#63

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.


#64

Have a look in the dev tools section. image