fix(deploy): drop availability mask so sensor state shows gitea response [#734]

Detail: https://projects.knownelement.com/issues/734
This commit is contained in:
2026-09-02 22:38:56 -05:00
parent 751bf1c396
commit fbd88aa2f0
-1
View File
@@ -15,5 +15,4 @@ rest:
sensor: sensor:
- name: PFV deploy gitea master head - name: PFV deploy gitea master head
unique_id: pfv_deploy_gitea_master_head unique_id: pfv_deploy_gitea_master_head
availability: "{{ value_json is defined and value_json is list and value_json | length > 0 }}"
value_template: "{{ value_json[0].sha if value_json is list and value_json | length > 0 else (value_json | string | truncate(90)) }}" value_template: "{{ value_json[0].sha if value_json is list and value_json | length > 0 else (value_json | string | truncate(90)) }}"