Hello veym,
Welcome the the Home Assistant Forum!
First off it is not clear what versions of what you are running, clarifying the system and style of Home Assistant you are running it on would help the people who would answer your question.
Perhaps read the FAQ over a bit and try to clarify and detail out your question, someone may have a better chance at helping you then.
https://community.home-assistant.io/t/how-to-help-us-help-you-or-how-to-ask-a-good-question/.