Thanks for finding that and for the code revisions! Currently,
relative_degrees isn’t used, so I commented it out. I also provided default values for both
flip_degrees. In my testing, there are no longer errors, and everything still works as intended. Additional feedback welcome!
Edit: I’m not sure of the correct way to update yours. Documentation says “When a user imports a blueprint, Home Assistant stores the URL from which it was imported. This will allow Home Assistant in the future to update blueprints by looking at updated blueprint code in the forum topic.” So I can’t tell if that means it will automatically update or not.