Overtemperature notifications for multiple sensors with different thresholds for each

Hi, I’m asking for help with the task of notifying about temperature exceedance for multiple sensors with different thresholds for each. I’m not sure if this is possible and I see that the task is quite complex and consists of 2 subtasks:

  1. We need a dynamic table on the dashboard with all sensors.*_temperature sensors, with a threshold value column that can be set. What table component can be used with value input fields? Where to save entered values?
  2. Automation that allows you to check if the threshold is exceeded for each sensor with a given threshold value in the table (first point). How can I link predefined thresholds to specific sensors?