Platform SolarEdge

Trying to include SolarEdge platform in HomeAssistant. Has followed HA instruction of SolarEdge which I have put in configuration.yaml.
I get that error:

Invalid config
The following integrations and platforms could not be set up:

sensors
Please check your config.

What can you do, you need more sensors in addition to SolarEdge

# Example configuration.yaml entry
solaredge:
   api_key: kr45KL78 .......
   site_id: 754 .....

# Example configuration.yaml entry for template platform
sensors:
   platform: template
   sensors:
     solaredge_energy_this_year_template:
       value_template: "{{(states ('sensor.solaredge_energy_this_year') | float / 1000) | round (2)}}"
1 Like

To be honest it looks correct. The single quote vs double quote placement is the only difference I see between what you have and what I have:

value_template: '{{(states("sensor.solaredge_energy_this_year") | float / 1000) | round(2)}}'

Also double check to make sure you actually have an entity sensor.solaredge_energy_this_year

You should no longer use a config in configuration.yaml. Solaredge now supports adding and configuration via Configuration --> Integrations --> press the + in the right lower corner --> enter solaredge --> select the Solaredge entry and enter the requested information in the window(s) that are popping up.

Thanks for that, I did so and work.

Great!

Please mark my response as the Solution to your problem so others can find this solution too.

I tried this. When I click submit, it “spins” and then does nothing. Does that mean one of my variables is incorrect?

Just after you see the spinning, go to Logs and look for the error related to this. If your don’t understand what is wrong, post the error-text here.

I just tried and nothing populates in the logs. Should I just try to restart?

Maybe let it spin for a while (3 mins), then have another look? Maybe there’s a timeout in the code or you server is slow?

It spins for a second or two then goes back to showing “submit” again.

I don’t use this so I can only provide general help :slight_smile:
Did you read the “manual”? https://www.home-assistant.io/integrations/solaredge/

Yea, I tried editing the config yaml directly and got this error:
ERROR (MainThread) [homeassistant.components.homeassistant] Invalid config for [solaredge]: [subscriber_id] is an invalid option for [solaredge]. Check: solaredge->solaredge->subscriber_id. (See /config/configuration.yaml, line 15).

Ok I’m looking at the code, it is asking for a site_id and an api key. And there should be a default name?

You are sure you have the correct id and key?

I’m now seeing that several errors will not show up as a message and or in Logs.
You should create an issue on the Home Assistant Core github, there you will get the help you need.

Appreciate your help - will do.

Hello,

For some reason last days i get failure that entity sensor SolarEdge is not available:

Entiteit niet beschikbaar: sensor.solaredge_current_power

I tried to make new API key and so on but this didn’t help. Until last week all works well.

In logbook I don’t see strange things

Does someone have any idea what this is and how to solve?

Thanks

Wilfried