* Fixed null pointer exception on state update with missing state * Added variable for state. Changed onvalue configuration type to integer. Signed-off-by: Haavar Valeur <haavar@haavar.com>
* Fixed null pointer exception on state update with missing state * Added variable for state. Changed onvalue configuration type to integer. Signed-off-by: Haavar Valeur <haavar@haavar.com>