Slack notifications not working

Hey

Trying to configure slack notifications but getting
WARNING:homeassistant.core:Unable to find service notification/slack
My config is

notify:
  - name: Homeassistant
    platform: slack
    api_key: xxxxxxxxxxx 
    default_channel: '#general'

What am i missing?

figured out, was using wrong name…