jmcollin78 / solar_optimizer

The Solar Optimizer integration for Home Assistant starts and stops your equipments depending on the Solar net production
MIT License
53 stars 10 forks source link

'NoneType' object has no attribute 'get' #6

Closed deveylder closed 7 months ago

deveylder commented 7 months ago

seems not to work.

Logger: custom_components.solar_optimizer.coordinator Source: custom_components/solar_optimizer/coordinator.py:60 Integration: Solar Optimizer (documentation, issues) First occurred: 10:30:10 (1 occurrences) Last logged: 10:30:10

'NoneType' object has no attribute 'get'

algorithm: initial_temp: 1000 min_temp: 0.1 cooling_factor: 0.95 max_iteration_number: 1000 devices:

created a input.number.tax / input.number.buy / input.number.sell

jmcollin78 commented 7 months ago

Please put the yaml into the code balise (button <>)

This seems not good: check_usable_template: "{{ }}" if the config is always "usable", you should put : check_usable_template: "{{ True }}"

I guess this is your problem.