'Test an unhasable key.'

def test_unhashable_key(self):

    files = {YAML_CONFIG_FILE: 'message:\n        {{    states.state    }}'}
    with self.assertRaises(HomeAssistantError):
        with patch_yaml_files(files):
            load_yaml_config_file(YAML_CONFIG_FILE)
