Post your yaml code. We cant help you unless we know what your yaml structure looks like.
Look at point 11 of the below in particular on how to post your yaml
https://community.home-assistant.io/t/how-to-help-us-help-you-or-how-to-ask-a-good-question/114371