Problem with slack integration

Found the issue myself seconds after my post. I spelled the notify component with a capital S and referenced it with a lowercase s… Sorry… :slight_smile:

I’m having issues with slack notifications. I’ve created my API key and i’ve configured a sample automation section for a simple Vera switch. The automation event is triggered but nothing appears on slack:

  name: Slack
  platform: slack
  api_key: XXXXXX
  default_channel: '#home'

  platform: state
  entity_id: switch.noomi_dator
  service: notify.slack
   message: 'Noomi switch state changed'

Apr 26 15:29:41 rasp hass[17198]: INFO:homeassistant.core:Bus:Handling <Event call_service[L]: service_call_id=1980252048-6, service_data=message=Noomi switch state changed, service=slack, domain=notify>

I’ve tried enable debug logging but nothing is logged related to slack. What is wrong?

In case you have not figured it out. Found this git repo:

Used the following configuration to help build my own:
service: notify.slack
message: >
Brent is leaving work.
ETA: {{ states.sensor.brent_home_travel.attributes.duration_in_traffic }}
target: “@emmahughes

Hopefully that helps.