So I recently got into HA and up until today I had a decently working setup. However, I ran into some issues with getting the binary_sensor.workday_sensor to work after another user recommended I use it. After a bit of trial and error I noticed that I needed to update HA to get it to work. Once I did however, it appears everything related to my hook switch stopped working. Here’s what my log reads:
17-04-12 22:26:23 ERROR (MainThread) [homeassistant.components.switch.hook] Failed authentication API call: 0,
message='Attempt to decode JSON with unexpected mimetype: text/html'
Is this an issue with how my configuration file is set up? There were other errors as well related to the upgrade, but this one is the most pressing one. Any help would be awesome.
I have the switches set up as shown:
switch:
- platform: hook
username: [email protected]
password: !secret hook