Re-allow splunk to report string states

Splunk *can* take string states, so un-fix that wrong fix.
This commit is contained in:
Dan Smith
2016-02-12 02:20:15 +00:00
parent 7241762bcc
commit 484b7b64d7
2 changed files with 3 additions and 7 deletions

View File

@@ -65,7 +65,7 @@ def setup(hass, config):
try:
_state = state_helper.state_as_number(state)
except ValueError:
return
_state = state.state
json_body = [
{