r-renato / ha-climacell-weather

Climacell weather provider integration is a custom component for Home Assistant. The climacell platform uses the Climacell API as a source for meteorological data for your location.
MIT License
46 stars 10 forks source link

Adding the field "moon_phase" breaks most of the sensors (V4) #43

Closed romquenin closed 3 years ago

romquenin commented 3 years ago

Thank you @r-renato for your great work ! The last update brought me back 99% of the sensors but unfortunately it's seems impossible to add the moon_phase, when i do so most of the sensors are reporting unknown states. Has you didn't had the field in your configuration exemple there is maybe some issues with this particular sensor. I hope you will find a way to solve this. Keep it up, this component and the dedicated card you have created are amazing !

the0ckid82 commented 3 years ago

Can confirm, i have tried both the v3 field moon_phase and the v4 moonPhase both break every other sensor but if you remove the moon phase everything else works

fa-ve commented 3 years ago

same issue, did try all possible ways

r-renato commented 3 years ago

The moonPhase sensor work for timestep: 1d/15d

      - name: "" #Daily
        timestep: "1d"
        forecast_observations: 5
        fields:
          - moonPhase
romquenin commented 3 years ago

Thank you @r-renato. I have now the 5 daily sensors but i can't find a way to add one of the sensors to your "ha-card-weather-conditions":

r-renato commented 3 years ago

Solved.

fa-ve commented 3 years ago

Not solved, we have 5 sensors now, but no display on the card, can you help out with that also?

r-renato commented 3 years ago

you can use sensor.cc_example_moon_phase_0d for current moon phase

r-renato commented 3 years ago

Have you installed the latest version of the component and the card?

fa-ve commented 3 years ago

Yes I did... see also the bugtracker of the card