Slider issue on 0.56.0

My configuration.yaml entry

input_number:
  exhaustfanminutes:
    name: Minutes
    icon: mdi:timer
    initial: 30
    min: 00
    max: 59
    step: 5
  exhaustfanhours:
    name: Hour
    icon: mdi:timer
    initial: 0
    min: 0
    max: 6
    step: 1

Automation.

- alias: "Exhaust Fan Timer on"
  trigger:
      platform: state
      entity_id: input_boolean.exhaustventfantimer
      to: 'on'
  action:
    - service: homeassistant.turn_on
      entity_id: switch.switch_3   
    - delay: '{{ states.input_number.exhaustfanhours.state | int }}:{{ states.input_number.exhaustfanminutes.state | int }}:00'
    - service: homeassistant.turn_off
      entity_id: switch.switch_3

i want is a timer to turn on switch.switch_3 for X amount of time using slider input_number.exhaustfanhours and turn off

and im using input_boolean.exhaustventfantimer as a trigger switch… it used to work back in 0.47.0 now it doest

Your code looks ok to me. What is actually not working, do you get an error message in the log?

no error about the slider automation

> 2017-10-31 19:10:00 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
> Traceback (most recent call last):
>   File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
>     result = coro.send(None)
>   File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 398, in async_process_entity
>     new_entity, self, update_before_add=update_before_add
>   File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 236, in async_add_entity
>     'Entity id already exists: {}'.format(entity.entity_id))
> homeassistant.exceptions.HomeAssistantError: Entity id already exists: sensor.solar_angle
> 2017-10-31 19:10:02 WARNING (Thread-15) [homeassistant.components.emulated_hue] When targeting Google Home, listening port has to be port 80
> 2017-10-31 19:10:08 WARNING (MainThread) [homeassistant.components.sensor.template] Could not render template Time, the state is unknown.
> 2017-10-31 19:56:03 WARNING (MainThread) [homeassistant.core] Unable to find service notify/notify
> 2017-10-31 20:00:11 ERROR (Thread-12) [homeassistant.components.sensor.speedtest] Error executing speedtest: Command '['/srv/homeassistant/homeassistant_venv/bin/python3', '/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/speedtest.py', '--simple']' returned non-zero exit status 1
> 2017-10-31 20:56:03 WARNING (MainThread) [homeassistant.core] Unable to find service notify/notify
> 2017-10-31 21:00:15 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.usb_dogs_room_events is taking over 10 seconds
> 2017-10-31 23:00:03 WARNING (MainThread) [homeassistant.core] Unable to find service notify/notify
> 2017-11-01 04:00:11 ERROR (Thread-2) [homeassistant.components.sensor.speedtest] Error executing speedtest: Command '['/srv/homeassistant/homeassistant_venv/bin/python3', '/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/speedtest.py', '--simple']' returned non-zero exit status 1
> 2017-11-01 06:58:22 ERROR (MainThread) [aiohttp.server] Error handling request
> Traceback (most recent call last):
>   File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/websocket_api.py", line 326, in handle
>     msg = yield from wsock.receive_json()
>   File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/aiohttp/web_ws.py", line 328, in receive_json
>     data = yield from self.receive_str(timeout=timeout)
>   File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/aiohttp/web_ws.py", line 310, in receive_str
>     msg = yield from self.receive(timeout)
>   File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/aiohttp/web_ws.py", line 273, in receive
>     msg = yield from self._reader.read()
>   File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/aiohttp/streams.py", line 627, in read
>     return (yield from super().read())
>   File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/aiohttp/streams.py", line 509, in read
>     yield from self._waiter
>   File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
>     yield self  # This tells Task to wait for completion.
>   File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
>     future.result()
>   File "/usr/lib/python3.5/asyncio/futures.py", line 285, in result
>     raise CancelledError
> concurrent.futures._base.CancelledError
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/aiohttp/web_protocol.py", line 422, in start
>     resp = yield from self._request_handler(request)
>   File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/aiohttp/web.py", line 306, in _handle
>     resp = yield from handler(request)
>   File "/usr/lib/python3.5/asyncio/coroutines.py", line 213, in coro
>     res = yield from res
>   File "/usr/lib/python3.5/asyncio/coroutines.py", line 213, in coro
>     res = yield from res
>   File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/http/ban.py", line 58, in ban_middleware_handler
>     return (yield from handler(request))
>   File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/http/__init__.py", line 430, in handle
>     result = yield from result
>   File "/usr/lib/python3.5/asyncio/coroutines.py", line 213, in coro
>     res = yield from res
>   File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/websocket_api.py", line 388, in handle
>     yield from self._writer_task
>   File "/usr/lib/python3.5/asyncio/futures.py", line 382, in __iter__
>     return self.result()  # May raise too.
>   File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
>     raise self._exception
>   File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
>     result = coro.throw(exc)
>   File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/websocket_api.py", line 238, in _writer
>     yield from self.wsock.send_json(message, dumps=JSON_DUMP)
>   File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/aiohttp/http_writer.py", line 128, in drain
>     yield from self._protocol._drain_helper()
>   File "/usr/lib/python3.5/asyncio/streams.py", line 211, in _drain_helper
>     yield from waiter
>   File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
>     yield self  # This tells Task to wait for completion.
>   File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
>     future.result()
>   File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
>     raise self._exception
>   File "/usr/lib/python3.5/asyncio/selector_events.py", line 723, in _read_ready
>     data = self._sock.recv(self.max_size)
> ConnectionResetError: [Errno 104] Connection reset by peer
> 2017-11-01 07:22:00 WARNING (MainThread) [homeassistant.core] Unable to find service homeassistant/not_home
> 2017-11-01 07:51:26 WARNING (MainThread) [homeassistant.core] Unable to find service homeassistant/home

Replace:
- service: homeassistant.turn_on
and
- service: homeassistant.turn_off

with:
- service: switch.turn_on
and
- service: switch.turn_off

not sure it will change anything, but worth a shot. Also make sure in the states tab your switch is actually called switch.switch_3.

Check the release notes.
Some input components changed.

i tried this this didnt work thanks you for trying to help…

my issue is that the slider doesn’t show properly on my frontend… All i see is the switch and time = unknow

If it doesn’t display on the frontend, then clear your browser cache. It was a known issue with 0.56.