HomeAutomationSystem argument added to all functions