Possible to publish a weather entity via node-red?

I have an Ambient Weather station and an Ecobee. Unfortunately the Ambient Weather integration does not publish a forecast, therefore I can’t use it in weather cards on my dashboard. The Ecobee provides a reasonable weather forecast, but I sure wish I could replace the current conditions with those from my weather station. This sounds like a job for node-red!

But I’m stuck. When creating an entity in node-red, I only have a choice of binary_sensor, sensor, button, and switch. Pushing my “pimped” weather data via a sensor doesn’t make HA interpret it as a weather entity. How can I make this work?

Thanks!

To answer my own question, use the API node. An HTTP POST with a path of /api/states/weather.foo does the trick.