1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
when: method: POST path_matches: - ^/api/states/sensor\..*$ header: - name: Content-Type value: application/json header_exists: - Authorization then: status: 200 header: - name: content-type value: application/json body: ""