Issues with input_slider together with in automation

Looks like I’ve run into the same problem.

automation:
- alias: "Pool change mode"
  trigger:
    platform: state
    entity_id: input_select.pool_mode
  action:
    service: "mqtt.publish"
    data_template:
      topic: "home/pool/mode"
      payload: {{ trigger.to_state }}`

Error thrown…

Config directory: /config
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/runpy.py", line 170, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/local/lib/python3.4/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/src/app/homeassistant/__main__.py", line 395, in 
    sys.exit(main())
  File "/usr/src/app/homeassistant/__main__.py", line 387, in main
    exit_code = setup_and_run_hass(config_dir, args)
  File "/usr/src/app/homeassistant/__main__.py", line 293, in setup_and_run_hass
    log_rotate_days=args.log_rotate_days)
  File "/usr/src/app/homeassistant/bootstrap.py", line 299, in from_config_file
    config_dict = config_util.load_yaml_config_file(config_path)
  File "/usr/src/app/homeassistant/config.py", line 149, in load_yaml_config_file
    conf_dict = load_yaml(config_path)
  File "/usr/src/app/homeassistant/util/yaml.py", line 32, in load_yaml
    return yaml.load(conf_file, Loader=SafeLineLoader) or {}
  File "/usr/local/lib/python3.4/site-packages/PyYAML-3.11-py3.4-linux-x86_64.egg/yaml/__init__.py", line 72, in load
    return loader.get_single_data()
  File "/usr/local/lib/python3.4/site-packages/PyYAML-3.11-py3.4-linux-x86_64.egg/yaml/constructor.py", line 37, in get_single_data
    return self.construct_document(node)
  File "/usr/local/lib/python3.4/site-packages/PyYAML-3.11-py3.4-linux-x86_64.egg/yaml/constructor.py", line 41, in construct_document
    data = self.construct_object(node)
  File "/usr/local/lib/python3.4/site-packages/PyYAML-3.11-py3.4-linux-x86_64.egg/yaml/constructor.py", line 86, in construct_object
    data = constructor(self, node)
  File "/usr/src/app/homeassistant/util/yaml.py", line 89, in _ordered_dict
    nodes = loader.construct_pairs(node)
  File "/usr/local/lib/python3.4/site-packages/PyYAML-3.11-py3.4-linux-x86_64.egg/yaml/constructor.py", line 141, in construct_pairs
    value = self.construct_object(value_node, deep=deep)
  File "/usr/local/lib/python3.4/site-packages/PyYAML-3.11-py3.4-linux-x86_64.egg/yaml/constructor.py", line 86, in construct_object
    data = constructor(self, node)
  File "/usr/src/app/homeassistant/util/yaml.py", line 45, in _include_yaml
    return load_yaml(fname)
  File "/usr/src/app/homeassistant/util/yaml.py", line 32, in load_yaml
    return yaml.load(conf_file, Loader=SafeLineLoader) or {}
  File "/usr/local/lib/python3.4/site-packages/PyYAML-3.11-py3.4-linux-x86_64.egg/yaml/__init__.py", line 72, in load
    return loader.get_single_data()
  File "/usr/local/lib/python3.4/site-packages/PyYAML-3.11-py3.4-linux-x86_64.egg/yaml/constructor.py", line 37, in get_single_data
    return self.construct_document(node)
  File "/usr/local/lib/python3.4/site-packages/PyYAML-3.11-py3.4-linux-x86_64.egg/yaml/constructor.py", line 46, in construct_document
    for dummy in generator:
  File "/usr/local/lib/python3.4/site-packages/PyYAML-3.11-py3.4-linux-x86_64.egg/yaml/constructor.py", line 393, in construct_yaml_seq
    data.extend(self.construct_sequence(node))
  File "/usr/local/lib/python3.4/site-packages/PyYAML-3.11-py3.4-linux-x86_64.egg/yaml/constructor.py", line 116, in construct_sequence
    for child in node.value]
  File "/usr/local/lib/python3.4/site-packages/PyYAML-3.11-py3.4-linux-x86_64.egg/yaml/constructor.py", line 116, in 
    for child in node.value]
  File "/usr/local/lib/python3.4/site-packages/PyYAML-3.11-py3.4-linux-x86_64.egg/yaml/constructor.py", line 86, in construct_object
    data = constructor(self, node)
  File "/usr/src/app/homeassistant/util/yaml.py", line 89, in _ordered_dict
    nodes = loader.construct_pairs(node)
  File "/usr/local/lib/python3.4/site-packages/PyYAML-3.11-py3.4-linux-x86_64.egg/yaml/constructor.py", line 141, in construct_pairs
    value = self.construct_object(value_node, deep=deep)
  File "/usr/local/lib/python3.4/site-packages/PyYAML-3.11-py3.4-linux-x86_64.egg/yaml/constructor.py", line 86, in construct_object
    data = constructor(self, node)
  File "/usr/src/app/homeassistant/util/yaml.py", line 89, in _ordered_dict
    nodes = loader.construct_pairs(node)
  File "/usr/local/lib/python3.4/site-packages/PyYAML-3.11-py3.4-linux-x86_64.egg/yaml/constructor.py", line 141, in construct_pairs
    value = self.construct_object(value_node, deep=deep)
  File "/usr/local/lib/python3.4/site-packages/PyYAML-3.11-py3.4-linux-x86_64.egg/yaml/constructor.py", line 86, in construct_object
    data = constructor(self, node)
  File "/usr/src/app/homeassistant/util/yaml.py", line 89, in _ordered_dict
    nodes = loader.construct_pairs(node)
  File "/usr/local/lib/python3.4/site-packages/PyYAML-3.11-py3.4-linux-x86_64.egg/yaml/constructor.py", line 141, in construct_pairs
    value = self.construct_object(value_node, deep=deep)
  File "/usr/local/lib/python3.4/site-packages/PyYAML-3.11-py3.4-linux-x86_64.egg/yaml/constructor.py", line 86, in construct_object
    data = constructor(self, node)
  File "/usr/src/app/homeassistant/util/yaml.py", line 97, in _ordered_dict
    if key in seen:
TypeError: unhashable type: 'OrderedDict'