self.mqtt_client.subscribe("$iothub/twin/PATCH/properties/desired/#")
self.mqtt_client.subscribe("$iothub/methods/POST/#")
await self.publish( "$iothub/twin/PATCH/properties/reported/", reported_properties )
For some reason these don't update the reported attribute in the device twin.