Skip to content

Commit 33749f0

Browse files
committed
Use fulljson in input_post
to solve issue in home-assistant emoncms_history integration home-assistant/core#151959
1 parent de04b01 commit 33749f0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyemoncms/emoncms_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ async def async_input_post(
104104
if not effective_key:
105105
raise ValueError("API key must be provided.")
106106

107-
params = {"apikey": effective_key, "json": json_string}
107+
params = {"apikey": effective_key, "fulljson": json_string}
108108
if node:
109109
params["node"] = node
110110
if time is not None:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
setuptools.setup(
88
name="pyemoncms",
9-
version="0.1.2",
9+
version="0.1.3",
1010
author="Alexandre CUER",
1111
author_email="[email protected]",
1212
description="A python library to interrogate emoncms API",

0 commit comments

Comments
 (0)