From 3864a1d2bf58818e6272617e9232f50bf0257473 Mon Sep 17 00:00:00 2001
From: Jan David Mol <mol@astron.nl>
Date: Tue, 19 Mar 2024 13:17:11 +0000
Subject: [PATCH] L2SDP-102: Remove deprecated FPGA_beamlet_output_nof_beamlets

---
 README.md                                             |  3 +++
 tangostationcontrol/VERSION                           |  2 +-
 .../tangostationcontrol/devices/sdp/beamlet.py        | 11 -----------
 3 files changed, 4 insertions(+), 12 deletions(-)

diff --git a/README.md b/README.md
index 92e980076..b811fa3db 100644
--- a/README.md
+++ b/README.md
@@ -166,6 +166,9 @@ Next change the version in the following places:
 
 # Release Notes
 
+* 0.30.1 Remove deprecated FPGA_beamlet_output_nof_beamlets
+         Fix prometheus metric for counting calibrations
+         Removed ALARM and DISABLED states
 * 0.30.0 Refactor station state transitions using the State pattern
 * 0.29.2 Bump MinIO versions
 * 0.29.1-3 Fix central logs service consul name
diff --git a/tangostationcontrol/VERSION b/tangostationcontrol/VERSION
index c25c8e5b7..1a44cad74 100644
--- a/tangostationcontrol/VERSION
+++ b/tangostationcontrol/VERSION
@@ -1 +1 @@
-0.30.0
+0.30.1
diff --git a/tangostationcontrol/tangostationcontrol/devices/sdp/beamlet.py b/tangostationcontrol/tangostationcontrol/devices/sdp/beamlet.py
index 4e8c5d781..b7b6319cf 100644
--- a/tangostationcontrol/tangostationcontrol/devices/sdp/beamlet.py
+++ b/tangostationcontrol/tangostationcontrol/devices/sdp/beamlet.py
@@ -289,17 +289,6 @@ class Beamlet(OPCUADevice):
         access=AttrWriteType.READ_WRITE,
     )
 
-    FPGA_beamlet_output_nof_beamlets_R = AttributeWrapper(
-        comms_annotation=["FPGA_beamlet_output_nof_beamlets_R"],
-        datatype=numpy.uint32,
-        dims=(N_pn,),
-    )
-    FPGA_beamlet_output_nof_beamlets_RW = AttributeWrapper(
-        comms_annotation=["FPGA_beamlet_output_nof_beamlets_RW"],
-        datatype=numpy.uint32,
-        dims=(N_pn,),
-        min_value=1,
-    )
     FPGA_beamlet_output_scale_R = AttributeWrapper(
         comms_annotation=["FPGA_beamlet_output_scale_R"],
         datatype=numpy.double,
-- 
GitLab