I have a python script that scrapes a web page using selenium. I am currently trying to post data using the HA Rest API, but I think I am having some issues with data types, and units. So assuming this is the best way, does anyone have an example of just publishing a single float sensor value to home assistant? Or should I do this another way?
What kind of entities are you trying to assign values to?
So I ended up getting to work by using MQTT integration in HA, and GitHub - alexbarcelo/hass-mqtt-things: Library for rapid development of things to be integrated with Home Assistant through MQTT to handle the publishing and discovery.