Allow pipes in command sensors and services
This commit is contained in:
parent
e461ceae36
commit
96181a555a
3 changed files with 3 additions and 3 deletions
|
@ -30,7 +30,7 @@ class TestShellCommand(unittest.TestCase):
|
|||
path = os.path.join(tempdirname, 'called.txt')
|
||||
self.assertTrue(shell_command.setup(self.hass, {
|
||||
'shell_command': {
|
||||
'test_service': "touch {}".format(path)
|
||||
'test_service': "date > {}".format(path)
|
||||
}
|
||||
}))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue