added logic to support temp and buttons via action subscription